POST Suppliapi/CreditNote/PostcreditNoteDetail

Request Information

URI Parameters

None.

Body Parameters

creditNoteDetail
NameDescriptionTypeAdditional information
creditNoteDetailId

integer

None.

creditNoteHeaderId

integer

None.

itemStatusId

integer

None.

impOrderDetailId

integer

None.

itemId

integer

None.

itemUMId

integer

None.

warehouseLocationId

integer

None.

itemCode

string

None.

upcCode

string

None.

lotNo

string

None.

serialNo

string

None.

lineNumber

integer

None.

itemName

string

None.

quantity

decimal number

None.

qtySent

decimal number

None.

price

decimal number

None.

discount

decimal number

None.

miscAmount

decimal number

None.

totalAmount

decimal number

None.

packSize

integer

None.

itemUMCode

string

None.

unitWeight

decimal number

None.

grossWeight

decimal number

None.

memo

string

None.

isCredit

boolean

None.

void

boolean

None.

tenantId

integer

None.

updatedById

integer

None.

createdById

integer

None.

modifyDateTime

date

None.

insertDateTime

date

None.

itemPromotionId

integer

None.

itemPromotionTypecode

string

None.

commentary

string

None.

Request Formats

application/json, text/json

Sample:
{
  "creditNoteDetailId": 1,
  "creditNoteHeaderId": 2,
  "itemStatusId": 1,
  "impOrderDetailId": 1,
  "itemId": 3,
  "itemUMId": 1,
  "warehouseLocationId": 1,
  "itemCode": "sample string 4",
  "upcCode": "sample string 5",
  "lotNo": "sample string 6",
  "serialNo": "sample string 7",
  "lineNumber": 8,
  "itemName": "sample string 9",
  "quantity": 10.0,
  "qtySent": 1.0,
  "price": 11.0,
  "discount": 1.0,
  "miscAmount": 1.0,
  "totalAmount": 12.0,
  "packSize": 1,
  "itemUMCode": "sample string 13",
  "unitWeight": 1.0,
  "grossWeight": 1.0,
  "memo": "sample string 14",
  "isCredit": true,
  "void": true,
  "tenantId": 17,
  "updatedById": 1,
  "createdById": 18,
  "modifyDateTime": "2024-04-19T08:51:42.0435932-06:00",
  "insertDateTime": "2024-04-19T08:51:42.0445927-06:00",
  "itemPromotionId": 1,
  "itemPromotionTypecode": "sample string 20",
  "commentary": "sample string 21"
}

application/xml, text/xml

Sample:
<creditNoteDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuppliModel">
  <commentary>sample string 21</commentary>
  <createdById>18</createdById>
  <creditNoteDetailId>1</creditNoteDetailId>
  <creditNoteHeaderId>2</creditNoteHeaderId>
  <discount>1</discount>
  <grossWeight>1</grossWeight>
  <impOrderDetailId>1</impOrderDetailId>
  <insertDateTime>2024-04-19T08:51:42.0445927-06:00</insertDateTime>
  <isCredit>true</isCredit>
  <itemCode>sample string 4</itemCode>
  <itemId>3</itemId>
  <itemName>sample string 9</itemName>
  <itemPromotionId>1</itemPromotionId>
  <itemPromotionTypecode>sample string 20</itemPromotionTypecode>
  <itemStatusId>1</itemStatusId>
  <itemUMCode>sample string 13</itemUMCode>
  <itemUMId>1</itemUMId>
  <lineNumber>8</lineNumber>
  <lotNo>sample string 6</lotNo>
  <memo>sample string 14</memo>
  <miscAmount>1</miscAmount>
  <modifyDateTime>2024-04-19T08:51:42.0435932-06:00</modifyDateTime>
  <packSize>1</packSize>
  <price>11</price>
  <qtySent>1</qtySent>
  <quantity>10</quantity>
  <serialNo>sample string 7</serialNo>
  <tenantId>17</tenantId>
  <totalAmount>12</totalAmount>
  <unitWeight>1</unitWeight>
  <upcCode>sample string 5</upcCode>
  <updatedById>1</updatedById>
  <void>true</void>
  <warehouseLocationId>1</warehouseLocationId>
</creditNoteDetail>

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.