GET api.ashx/v2/blogs/{blogid}/contactrequests/{contactrequestid}.{json|xml}
GET a blog contact request's details.
Scopes
Blogs › Read Contact Requests blogs.contactrequests.readonly
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
BlogId | int | Blog Id | Required | |||
ContactRequestId | int | Contact Request Id | Required |
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/blogs/{blogid}/contactrequests/{contactrequestid}.json', data: { 'blogid': '6', 'contactrequestid': '6' } }).then(function(response) { // use response });
Example Responses
JSON
{ "ContactRequest": { "BlogId": 6, "Subject": "subject", "Body": "body", "Name": "name", "EmailAddress": "emailaddress", "DateCreated": "2012-01-04T00:00:00", "IsModerated": true, "Excerpt": "excerpt", "Id": 25 }, "Info": [ "string", "string" ], "Warnings": [ "string", "string" ], "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <Info> <Message>string</Message> <Message>string</Message> </Info> <Warnings> <Message>string</Message> <Message>string</Message> </Warnings> <Errors> <Message>string</Message> <Message>string</Message> </Errors> <ContactRequest> <Id>25</Id> <BlogId>6</BlogId> <Subject>subject</Subject> <Body>body</Body> <Name>name</Name> <EmailAddress>emailaddress</EmailAddress> <DateCreated>2012-01-04T00:00:00</DateCreated> <IsModerated>true</IsModerated> <Excerpt>excerpt</Excerpt> </ContactRequest> </Response>