POST api/ApnAdminList/Save
Request Information
URI Parameters
None.
Body Parameters
ListSaveRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| List | string |
None. |
|
| Id | integer |
None. |
|
| ParentId | integer |
None. |
|
| Active | boolean |
None. |
|
| Values | Dictionary of string [key] and Object [value] |
None. |
|
| MemberIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"List": "sample string 1",
"Id": 1,
"ParentId": 1,
"Active": true,
"Values": {
"sample string 1": {},
"sample string 3": {}
},
"MemberIds": [
1,
2
]
}
application/xml, text/xml
Sample:
<ListSaveRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions.Admin">
<Active>true</Active>
<Id>1</Id>
<List>sample string 1</List>
<MemberIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</MemberIds>
<ParentId>1</ParentId>
<Values xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</Values>
</ListSaveRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | ApiResponse |
None. |
|
| Data | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": {
"Success": true,
"ErrorMessage": "sample string 2"
},
"Data": 1
}
application/xml, text/xml
Sample:
<ApiResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.ApnExtensions">
<Data>1</Data>
<Response>
<ErrorMessage>sample string 2</ErrorMessage>
<Success>true</Success>
</Response>
</ApiResultOfint>