PUT api/PL/UpdatePLExpItem?uniqueClientID={uniqueClientID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| uniqueClientID | integer |
Required |
Body Parameters
EYCTCWebIHCoSchPLExpIItem| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ItemID | integer |
None. |
|
| Description | string |
None. |
|
| AdditionalDescription | string |
None. |
|
| Amount | decimal number |
None. |
|
| Amounts | Collection of decimal number |
None. |
|
| ExpenseTreatment | Pair of string [key] and string [value] |
None. |
|
| ExpenseTreatmentCode | string |
None. |
|
| Tag | Pair of string [key] and string [value] |
None. |
|
| TagCode | string |
None. |
|
| RentalExpTreatment | Pair of string [key] and string [value] |
None. |
|
| RentalExpTreatmentCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"ItemID": 2,
"Description": "sample string 3",
"AdditionalDescription": "sample string 4",
"Amount": 3.0,
"Amounts": [
1.0,
2.0
],
"ExpenseTreatment": {
"Key": "sample string 1",
"Value": "sample string 2"
},
"ExpenseTreatmentCode": "sample string 5",
"Tag": {
"Key": "sample string 1",
"Value": "sample string 2"
},
"TagCode": "sample string 6",
"RentalExpTreatment": {
"Key": "sample string 1",
"Value": "sample string 2"
},
"RentalExpTreatmentCode": "sample string 7"
}
application/xml, text/xml
Sample:
<EYCTCWebIHCoSchPLExpIItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EYCAPL.CTS.Web">
<AdditionalDescription>sample string 4</AdditionalDescription>
<Amounts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:decimal>1</d2p1:decimal>
<d2p1:decimal>2</d2p1:decimal>
</Amounts>
<Description>sample string 3</Description>
<ExpenseTreatment xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<d2p1:key>sample string 1</d2p1:key>
<d2p1:value>sample string 2</d2p1:value>
</ExpenseTreatment>
<ExpenseTreatmentCode>sample string 5</ExpenseTreatmentCode>
<ID>1</ID>
<ItemID>2</ItemID>
<RentalExpTreatment xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<d2p1:key>sample string 1</d2p1:key>
<d2p1:value>sample string 2</d2p1:value>
</RentalExpTreatment>
<RentalExpTreatmentCode>sample string 7</RentalExpTreatmentCode>
<Tag xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<d2p1:key>sample string 1</d2p1:key>
<d2p1:value>sample string 2</d2p1:value>
</Tag>
<TagCode>sample string 6</TagCode>
</EYCTCWebIHCoSchPLExpIItem>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |