POST api/Credit?invoiceNo={invoiceNo}&POSNo={POSNo}&invoiceDate={invoiceDate}&creditNo={creditNo}&creditDate={creditDate}&paymentCode={paymentCode}&creditReason={creditReason}
Request Information
authentication required : basic authentication
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| invoiceNo | integer |
Required |
|
| POSNo | string |
Required |
|
| invoiceDate | string |
Required |
|
| creditNo | integer |
Required |
|
| creditDate | string |
Required |
|
| paymentCode | string |
Required |
|
| creditReason | string |
Required |
Body Parameters
Collection of InvDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemDesc | string |
None. |
|
| ItemPrice | decimal number |
None. |
|
| Quantity | integer |
None. |
|
| TaxRate | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"itemDesc": "sample string 1",
"itemPrice": 2.0,
"quantity": 3,
"taxRate": 4
},
{
"itemDesc": "sample string 1",
"itemPrice": 2.0,
"quantity": 3,
"taxRate": 4
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"