DELETE api/NTCoPL/DeletePLTradeIncItem?uniqueClientID={uniqueClientID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
uniqueClientID

integer

Required

Body Parameters

EYCTCWebNTCoSchProfitLossTradeIncomeItem
NameDescriptionTypeAdditional information
ID

integer

None.

ItemID

integer

None.

Description

string

None.

Amount

decimal number

None.

Amounts

Collection of decimal number

None.

Reference

string

None.

AllocationBasisType

Pair of string [key] and string [value]

None.

AllocationBasisTypeCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ItemID": 2,
  "Description": "sample string 3",
  "Amount": 3.0,
  "Amounts": [
    1.0,
    2.0
  ],
  "Reference": "sample string 4",
  "AllocationBasisType": {
    "Key": "sample string 1",
    "Value": "sample string 2"
  },
  "AllocationBasisTypeCode": 5
}

application/xml, text/xml

Sample:
<EYCTCWebNTCoSchProfitLossTradeIncomeItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EYCAPL.CTS.Web">
  <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>
  <ItemID>2</ItemID>
  <Reference>sample string 4</Reference>
</EYCTCWebNTCoSchProfitLossTradeIncomeItem>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.