DELETE api/NTCoPL/DeletePLTradeExpItem?uniqueClientID={uniqueClientID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| uniqueClientID | integer |
Required |
Body Parameters
EYCTCWebNTCoSchProfitLossTradeExpenseItem| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| ItemID | integer |
None. |
|
| Description | string |
None. |
|
| Amount | decimal number |
None. |
|
| Amounts | Collection of decimal number |
None. |
|
| AdjustmentType | Pair of string [key] and string [value] |
None. |
|
| AdjustmentTypeCode | integer |
None. |
|
| AllocationBasisType | Pair of string [key] and string [value] |
None. |
|
| AllocationBasisTypeCode | integer |
None. |
|
| IsCashPayout | boolean |
None. |
|
| Reference | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"ItemID": 2,
"Description": "sample string 3",
"Amount": 3.0,
"Amounts": [
1.0,
2.0
],
"AdjustmentType": {
"Key": "sample string 1",
"Value": "sample string 2"
},
"AdjustmentTypeCode": 4,
"AllocationBasisType": {
"Key": "sample string 1",
"Value": "sample string 2"
},
"AllocationBasisTypeCode": 5,
"IsCashPayout": true,
"Reference": "sample string 7"
}
application/xml, text/xml
Sample:
<EYCTCWebNTCoSchProfitLossTradeExpenseItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EYCAPL.CTS.Web">
<AdjustmentType 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>
</AdjustmentType>
<AdjustmentTypeCode>4</AdjustmentTypeCode>
<AllocationBasisType 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>
</AllocationBasisType>
<AllocationBasisTypeCode>5</AllocationBasisTypeCode>
<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>
<ID>1</ID>
<IsCashPayout>true</IsCashPayout>
<ItemID>2</ItemID>
<Reference>sample string 7</Reference>
</EYCTCWebNTCoSchProfitLossTradeExpenseItem>
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. |