POST api/Messages
Request Information
URI Parameters
None.
Body Parameters
Collection of MessageCollectionName | Description | Type | Additional information |
---|---|---|---|
QueueTime | date |
None. |
|
MessageSourceId | integer |
None. |
|
CreatedForUserId | integer |
None. |
|
MessageDeliveryMethod | MessageDeliveryMethodEnum |
None. |
|
SenderTextIdOrDisplayName | string |
None. |
|
Sender | string |
None. |
|
Recipients | Collection of MessageRecipient |
None. |
|
Messages | Collection of Message |
None. |
|
UserToken | string |
None. |
|
Culture | string |
None. |
|
transctionKey | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "QueueTime": "2024-12-25T00:55:46.3192682Z", "MessageSourceId": 1, "CreatedForUserId": 2, "MessageDeliveryMethod": 0, "SenderTextIdOrDisplayName": "sample string 3", "Sender": "sample string 4", "Recipients": [ { "RecipientContact": "sample string 1", "TransformationDictionary": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "CountryCode": "sample string 2" } ], "Messages": [ null, { "PlannedSendTime": "2024-12-25T02:55:46.3192682+02:00", "MessageSubject": null, "MessageText": null, "TemplateKey": null, "MessageFields": {} } ], "UserToken": "sample string 5", "Culture": "sample string 6", "transctionKey": "sample string 7" }, { "QueueTime": "2024-12-25T00:55:46.3192682Z", "MessageSourceId": 1, "CreatedForUserId": 2, "MessageDeliveryMethod": 0, "SenderTextIdOrDisplayName": "sample string 3", "Sender": "sample string 4", "Recipients": [ { "RecipientContact": "sample string 1", "TransformationDictionary": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "CountryCode": "sample string 2" } ], "Messages": [ null, { "PlannedSendTime": "2024-12-25T02:55:46.3192682+02:00", "MessageSubject": null, "MessageText": null, "TemplateKey": null, "MessageFields": {} } ], "UserToken": "sample string 5", "Culture": "sample string 6", "transctionKey": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfMessageCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Salesforce.Gateway.Model"> <MessageCollection> <CreatedForUserId>2</CreatedForUserId> <Culture>sample string 6</Culture> <MessageDeliveryMethod>SMS</MessageDeliveryMethod> <MessageSourceId>1</MessageSourceId> <Messages> <Message i:nil="true" /> <Message> <MessageFields xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <MessageSubject i:nil="true" /> <MessageText i:nil="true" /> <PlannedSendTime>2024-12-25T02:55:46.3192682+02:00</PlannedSendTime> <TemplateKey i:nil="true" /> </Message> </Messages> <Recipients> <MessageRecipient> <CountryCode>sample string 2</CountryCode> <RecipientContact>sample string 1</RecipientContact> <TransformationDictionary xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>sample string 2</d5p1:Value> </d5p1:KeyValueOfstringstring> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>sample string 4</d5p1:Value> </d5p1:KeyValueOfstringstring> </TransformationDictionary> </MessageRecipient> </Recipients> <Sender>sample string 4</Sender> <SenderTextIdOrDisplayName>sample string 3</SenderTextIdOrDisplayName> <UserToken>sample string 5</UserToken> <transctionKey>sample string 7</transctionKey> </MessageCollection> <MessageCollection> <CreatedForUserId>2</CreatedForUserId> <Culture>sample string 6</Culture> <MessageDeliveryMethod>SMS</MessageDeliveryMethod> <MessageSourceId>1</MessageSourceId> <Messages> <Message i:nil="true" /> <Message> <MessageFields xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <MessageSubject i:nil="true" /> <MessageText i:nil="true" /> <PlannedSendTime>2024-12-25T02:55:46.3192682+02:00</PlannedSendTime> <TemplateKey i:nil="true" /> </Message> </Messages> <Recipients> <MessageRecipient> <CountryCode>sample string 2</CountryCode> <RecipientContact>sample string 1</RecipientContact> <TransformationDictionary xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>sample string 2</d5p1:Value> </d5p1:KeyValueOfstringstring> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>sample string 4</d5p1:Value> </d5p1:KeyValueOfstringstring> </TransformationDictionary> </MessageRecipient> </Recipients> <Sender>sample string 4</Sender> <SenderTextIdOrDisplayName>sample string 3</SenderTextIdOrDisplayName> <UserToken>sample string 5</UserToken> <transctionKey>sample string 7</transctionKey> </MessageCollection> </ArrayOfMessageCollection>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.