PUT api/thirdpartyapi/{id}
Creates a Third Party API record
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
ID to identify the Third Party API |
integer |
Required |
Body Parameters
API details to save
ThirdPartyAPI| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Description | string |
None. |
|
| Address | string |
None. |
|
| Username | string |
None. |
|
| Password |
Used to store the password or the API subscription key |
string |
None. |
| PasswordPlain | string |
None. |
|
| Token | string |
None. |
|
| APIType | ThirdPartyApiType |
None. |
|
| APISubType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"description": "sample string 2",
"address": "sample string 3",
"username": "sample string 4",
"password": "sample string 5",
"passwordPlain": "sample string 6",
"token": "sample string 7",
"apiType": 8,
"apiSubType": 9
}
application/xml, text/xml
Sample:
<ThirdPartyAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.ThirdPartyAPIs"> <APISubType>9</APISubType> <APIType>8</APIType> <Address>sample string 3</Address> <Description>sample string 2</Description> <ID>1</ID> <Password>sample string 5</Password> <PasswordPlain>sample string 6</PasswordPlain> <Token>sample string 7</Token> <Username>sample string 4</Username> </ThirdPartyAPI>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.