POST api/RCS/SendCarousel
Request Information
URI Parameters
None.
Body Parameters
RootCarousel| Name | Description | Type | Additional information |
|---|---|---|---|
| messages | Collection of MessageCarousel |
None. |
Request Formats
application/json, text/json
Sample:
{
"messages": [
{
"templateId": "sample string 1",
"to": "sample string 2",
"customOne": "sample string 3",
"customTwo": "sample string 4",
"customThree": "sample string 5",
"customFour": "sample string 6",
"components": {
"carouselCard": [
[
{},
{}
],
[
{},
{}
]
]
}
},
{
"templateId": "sample string 1",
"to": "sample string 2",
"customOne": "sample string 3",
"customTwo": "sample string 4",
"customThree": "sample string 5",
"customFour": "sample string 6",
"components": {
"carouselCard": [
[
{},
{}
],
[
{},
{}
]
]
}
}
]
}
application/xml, text/xml
Sample:
<RootCarousel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MIMRCSAPI.Models">
<messages>
<MessageCarousel>
<components>
<carouselCard xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:ArrayOfanyType>
<d5p1:anyType />
<d5p1:anyType />
</d5p1:ArrayOfanyType>
<d5p1:ArrayOfanyType>
<d5p1:anyType />
<d5p1:anyType />
</d5p1:ArrayOfanyType>
</carouselCard>
</components>
<customFour>sample string 6</customFour>
<customOne>sample string 3</customOne>
<customThree>sample string 5</customThree>
<customTwo>sample string 4</customTwo>
<templateId>sample string 1</templateId>
<to>sample string 2</to>
</MessageCarousel>
<MessageCarousel>
<components>
<carouselCard xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:ArrayOfanyType>
<d5p1:anyType />
<d5p1:anyType />
</d5p1:ArrayOfanyType>
<d5p1:ArrayOfanyType>
<d5p1:anyType />
<d5p1:anyType />
</d5p1:ArrayOfanyType>
</carouselCard>
</components>
<customFour>sample string 6</customFour>
<customOne>sample string 3</customOne>
<customThree>sample string 5</customThree>
<customTwo>sample string 4</customTwo>
<templateId>sample string 1</templateId>
<to>sample string 2</to>
</MessageCarousel>
</messages>
</RootCarousel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |