POST api/v1/messaging
Request Information
URI Parameters
None.
Body Parameters
MessagingPostRequestBindingModelName | Description | Type | Additional information |
---|---|---|---|
Number | string |
None. |
|
Type | string |
None. |
|
Contact | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Number": "sample string 1", "Type": "sample string 2", "Contact": "sample string 3" }
application/xml, text/xml
Sample:
<MessagingPostRequestBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Messaging.Api.Models"> <Contact>sample string 3</Contact> <Number>sample string 1</Number> <Type>sample string 2</Type> </MessagingPostRequestBindingModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MessagingBindingModelName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
Href | string |
None. |
|
Name | string |
None. |
|
Type | string |
None. |
|
Successful | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "Href": "sample string 2", "Name": "sample string 3", "Type": "sample string 4", "Successful": true }
application/xml, text/xml
Sample:
<MessagingBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Messaging.Api.Models"> <Href>sample string 2</Href> <Id>sample string 1</Id> <Name>sample string 3</Name> <Successful>true</Successful> <Type>sample string 4</Type> </MessagingBindingModel>