POST api/Partner/Update
Request Information
URI Parameters
None.
Body Parameters
Partner| Name | Description | Type | Additional information |
|---|---|---|---|
| PartnerID | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Telephone | string |
None. |
|
| LicenseNo | string |
None. |
|
| ContactPerson | string |
None. |
|
| ContactNo | string |
None. |
|
| string |
None. |
||
| CountryName | string |
None. |
|
| CountryCode | string |
None. |
|
| Address | string |
None. |
|
| NoOfAssets | integer |
None. |
|
| NoOfClients | integer |
None. |
|
| TimeZone | string |
None. |
|
| FleetrootStatus | FleetrootStatus |
None. |
|
| StatusChangeRemark | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PartnerID": "31429b44-5fa2-4fc6-b9c4-62df630dd2ea",
"Name": "sample string 2",
"Telephone": "sample string 3",
"LicenseNo": "sample string 4",
"ContactPerson": "sample string 5",
"ContactNo": "sample string 6",
"Email": "sample string 7",
"CountryName": "sample string 8",
"CountryCode": "sample string 9",
"Address": "sample string 10",
"NoOfAssets": 11,
"NoOfClients": 12,
"TimeZone": "sample string 13",
"FleetrootStatus": 0,
"StatusChangeRemark": "sample string 14"
}
application/xml, text/xml
Sample:
<Partner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetrootPartner.Entity"> <Address>sample string 10</Address> <ContactNo>sample string 6</ContactNo> <ContactPerson>sample string 5</ContactPerson> <CountryCode>sample string 9</CountryCode> <CountryName>sample string 8</CountryName> <Email>sample string 7</Email> <FleetrootStatus>None</FleetrootStatus> <LicenseNo>sample string 4</LicenseNo> <Name>sample string 2</Name> <NoOfAssets>11</NoOfAssets> <NoOfClients>12</NoOfClients> <PartnerID>31429b44-5fa2-4fc6-b9c4-62df630dd2ea</PartnerID> <StatusChangeRemark>sample string 14</StatusChangeRemark> <Telephone>sample string 3</Telephone> <TimeZone>sample string 13</TimeZone> </Partner>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| IsValid | boolean |
None. |
|
| Message | Collection of string |
None. |
|
| WarningMessage | string |
None. |
|
| Id | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsValid": true,
"Message": [
"sample string 1",
"sample string 2"
],
"WarningMessage": "sample string 2",
"Id": "623dbff0-d11e-45b5-9f82-eed55b1c9a05"
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetrootPartner.Common">
<Id>623dbff0-d11e-45b5-9f82-eed55b1c9a05</Id>
<IsValid>true</IsValid>
<Message xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Message>
<WarningMessage>sample string 2</WarningMessage>
</Result>