POST api/Message
Documentation pour 'Post'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| Messagesms | Documentation pour 'Messagesms'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"emetteur": "sample string 1",
"chauffeurs": [
"sample string 1",
"sample string 2",
"sample string 3"
],
"textMessage": "sample string 2",
"typeMessage": "sample string 3"
}
application/xml, text/xml
Sample:
<envoimessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MvcApplication1.Controllers">
<chauffeurs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
<d2p1:string>sample string 3</d2p1:string>
</chauffeurs>
<emetteur>sample string 1</emetteur>
<textMessage>sample string 2</textMessage>
<typeMessage>sample string 3</typeMessage>
</envoimessage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>