POST api/CreateMediaTemplate
Request Information
URI Parameters
None.
Body Parameters
TempMedia| Name | Description | Type | Additional information |
|---|---|---|---|
| ProfileId | string |
None. |
|
| APIKey | string |
None. |
|
| name | string |
None. |
|
| language | string |
None. |
|
| category | string |
None. |
|
| structure | Structure1 |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProfileId": "sample string 1",
"APIKey": "sample string 2",
"name": "sample string 3",
"language": "sample string 4",
"category": "sample string 5",
"structure": {
"header": {
"example": "sample string 1",
"format": "sample string 2"
},
"body": {
"text": "sample string 1"
},
"type": "sample string 1"
}
}
application/xml, text/xml
Sample:
<CreateTemplate.TempMedia xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhatsAppApi.Helper">
<APIKey>sample string 2</APIKey>
<ProfileId>sample string 1</ProfileId>
<category>sample string 5</category>
<language>sample string 4</language>
<name>sample string 3</name>
<structure>
<body>
<text>sample string 1</text>
</body>
<header>
<example>sample string 1</example>
<format>sample string 2</format>
</header>
<type>sample string 1</type>
</structure>
</CreateTemplate.TempMedia>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>