POST api/invoices/addcharges

Request Information

URI Parameters

None.

Body Parameters

InvoiceChargeDTO
NameDescriptionTypeAdditional information
securetyUserId

globally unique identifier

None.

invoiceId

globally unique identifier

None.

chargeAmount

decimal number

None.

chargeType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "securetyUserId": "3806d23b-8b70-45e9-853f-b04358601f08",
  "invoiceId": "2e086435-9935-4511-9c36-79b29dc154be",
  "chargeAmount": 1.0,
  "chargeType": "sample string 1"
}

application/xml, text/xml

Sample:
<InvoiceChargeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DTO">
  <chargeAmount>1</chargeAmount>
  <chargeType>sample string 1</chargeType>
  <invoiceId>2e086435-9935-4511-9c36-79b29dc154be</invoiceId>
  <securetyUserId>3806d23b-8b70-45e9-853f-b04358601f08</securetyUserId>
</InvoiceChargeDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InvoiceChargeDTO'.

Response Information

Resource Description

JsonResultOfBoolean
NameDescriptionTypeAdditional information
Content

boolean

None.

SerializerSettings

JsonSerializerSettings

None.

Encoding

Encoding

None.

Request

HttpRequestMessage

None.

Response Formats

application/json, text/json

Sample:

Sample not available.