POST api/Phonelists/CreateList
Creates a blank phone list
Request Information
URI Parameters
None.
Body Parameters
Details of the new list
CreatePhoneListRequestName | Description | Type | Additional information |
---|---|---|---|
SessionToken | string |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Folder | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "SessionToken": "sample string 1", "Name": "sample string 2", "Description": "sample string 3", "Folder": 4 }
application/xml, text/xml
Sample:
<CreatePhoneListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMSConnector"> <Description>sample string 3</Description> <Folder>4</Folder> <Name>sample string 2</Name> <SessionToken>sample string 1</SessionToken> </CreatePhoneListRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The ID of the new list
APIReturnOfPhoneListStatusAndInt32Name | Description | Type | Additional information |
---|---|---|---|
StatusEnum | PhoneListStatus |
None. |
|
Status | string |
None. |
|
Result | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "StatusEnum": 0, "Status": "Success", "Result": 1 }
application/xml, text/xml
Sample:
<APIReturnOfPhoneListStatusintArk7AG5L xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMSConnector"> <Result>1</Result> <StatusEnum>Success</StatusEnum> </APIReturnOfPhoneListStatusintArk7AG5L>