POST api/ApnAdminLookupTable/Save
Request Information
URI Parameters
None.
Body Parameters
LookupTableSaveParams| Name | Description | Type | Additional information |
|---|---|---|---|
| Table | string |
None. |
|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Active | boolean |
None. |
|
| Values | Dictionary of string [key] and Object [value] |
None. |
Request Formats
application/json, text/json
Sample:
{
"Table": "sample string 1",
"Id": 1,
"Name": "sample string 2",
"Active": true,
"Values": {
"sample string 1": {},
"sample string 3": {}
}
}
application/xml, text/xml
Sample:
<LookupTableSaveParams 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>
<Name>sample string 2</Name>
<Table>sample string 1</Table>
<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>
</LookupTableSaveParams>
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>