POST api/BillingInvoiceHeader/createinvoicededuction/{UserId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
Required |
Body Parameters
CreateInvoiceDeductionFromBillingInvoiceCommand| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | BillingInvoiceHeaderIdentity |
None. |
|
| DeductionAmount | decimal number |
None. |
|
| UserId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": {
"invoiceId": "sample string 1",
"supplierId": 1.0
},
"deductionAmount": 1.0,
"userId": "sample string 1"
}
application/xml, text/xml
Sample:
<CreateInvoiceDeductionFromBillingInvoiceCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FashionIsland.Ebidding.Application">
<DeductionAmount>1</DeductionAmount>
<Id xmlns:d2p1="http://schemas.datacontract.org/2004/07/FashionIsland.Ebidding.ViewModel">
<d2p1:InvoiceId>sample string 1</d2p1:InvoiceId>
<d2p1:SupplierId>1</d2p1:SupplierId>
</Id>
<UserId>sample string 1</UserId>
</CreateInvoiceDeductionFromBillingInvoiceCommand>
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. |