POST Suppliapi/CreditNote/PostcreditNoteHeader

Request Information

URI Parameters

None.

Body Parameters

creditNoteHeader
NameDescriptionTypeAdditional information
creditNoteHeaderId

integer

None.

creditNumber

string

None.

orderTypeId

integer

None.

orderSourceId

integer

None.

orderStatusId

integer

None.

orderProcessId

integer

None.

warehouseId

integer

None.

impOrderId

integer

None.

qouteId

integer

None.

accountId

integer

None.

contactId

integer

None.

accountRepId

integer

None.

accountTermId

integer

None.

creditDate

date

None.

shipDate

date

None.

refNumber

string

None.

accountName

string

None.

accountRepName

string

None.

contactName

string

None.

customerPO

string

None.

addressLine

string

None.

addressLine2

string

None.

addressLine3

string

None.

city

string

None.

state

string

None.

country

string

None.

postalCode

string

None.

longitude

decimal number

None.

latitude

decimal number

None.

freightAmount

decimal number

None.

shippingAmount

decimal number

None.

taxAmount1

decimal number

None.

taxAmount2

decimal number

None.

miscAmount1

decimal number

None.

miscAmount2

decimal number

None.

discountAmount

decimal number

None.

totalAmount

decimal number

None.

totalGrossWeight

decimal number

None.

memo

string

None.

emailTo

string

None.

faxTo

string

None.

toPrint

boolean

None.

toFax

boolean

None.

toEmail

boolean

None.

void

boolean

None.

tenantId

integer

None.

updatedById

integer

None.

createdById

integer

None.

modifyDateTime

date

None.

insertDateTime

date

None.

sign

Collection of byte

None.

employeeId

integer

None.

itemPromotionId

integer

None.

itemPromotionTypecode

string

None.

latitude2

decimal number

None.

longitude2

decimal number

None.

shippingMethod

string

None.

nombreSucursal

string

None.

Request Formats

application/json, text/json

Sample:
{
  "creditNoteHeaderId": 1,
  "creditNumber": "sample string 2",
  "orderTypeId": 3,
  "orderSourceId": 4,
  "orderStatusId": 5,
  "orderProcessId": 6,
  "warehouseId": 1,
  "impOrderId": 1,
  "qouteId": 1,
  "accountId": 7,
  "contactId": 8,
  "accountRepId": 9,
  "accountTermId": 1,
  "creditDate": "2024-04-23T18:55:27.3195709-06:00",
  "shipDate": "2024-04-23T18:55:27.3195709-06:00",
  "refNumber": "sample string 11",
  "accountName": "sample string 12",
  "accountRepName": "sample string 13",
  "contactName": "sample string 14",
  "customerPO": "sample string 15",
  "addressLine": "sample string 16",
  "addressLine2": "sample string 17",
  "addressLine3": "sample string 18",
  "city": "sample string 19",
  "state": "sample string 20",
  "country": "sample string 21",
  "postalCode": "sample string 22",
  "longitude": 1.1,
  "latitude": 1.1,
  "freightAmount": 1.0,
  "shippingAmount": 1.0,
  "taxAmount1": 1.0,
  "taxAmount2": 1.0,
  "miscAmount1": 1.0,
  "miscAmount2": 1.0,
  "discountAmount": 1.0,
  "totalAmount": 1.0,
  "totalGrossWeight": 1.0,
  "memo": "sample string 23",
  "emailTo": "sample string 24",
  "faxTo": "sample string 25",
  "toPrint": true,
  "toFax": true,
  "toEmail": true,
  "void": true,
  "tenantId": 30,
  "updatedById": 1,
  "createdById": 31,
  "modifyDateTime": "2024-04-23T18:55:27.3225716-06:00",
  "insertDateTime": "2024-04-23T18:55:27.3225716-06:00",
  "sign": "QEA=",
  "employeeId": 1,
  "itemPromotionId": 1,
  "itemPromotionTypecode": "sample string 33",
  "latitude2": 1.1,
  "longitude2": 1.1,
  "shippingMethod": "sample string 34",
  "nombreSucursal": "sample string 35"
}

application/xml, text/xml

Sample:
<creditNoteHeader xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuppliModel">
  <accountId>7</accountId>
  <accountName>sample string 12</accountName>
  <accountRepId>9</accountRepId>
  <accountRepName>sample string 13</accountRepName>
  <accountTermId>1</accountTermId>
  <addressLine>sample string 16</addressLine>
  <addressLine2>sample string 17</addressLine2>
  <addressLine3>sample string 18</addressLine3>
  <city>sample string 19</city>
  <contactId>8</contactId>
  <contactName>sample string 14</contactName>
  <country>sample string 21</country>
  <createdById>31</createdById>
  <creditDate>2024-04-23T18:55:27.3195709-06:00</creditDate>
  <creditNoteHeaderId>1</creditNoteHeaderId>
  <creditNumber>sample string 2</creditNumber>
  <customerPO>sample string 15</customerPO>
  <discountAmount>1</discountAmount>
  <emailTo>sample string 24</emailTo>
  <employeeId>1</employeeId>
  <faxTo>sample string 25</faxTo>
  <freightAmount>1</freightAmount>
  <impOrderId>1</impOrderId>
  <insertDateTime>2024-04-23T18:55:27.3225716-06:00</insertDateTime>
  <itemPromotionId>1</itemPromotionId>
  <itemPromotionTypecode>sample string 33</itemPromotionTypecode>
  <latitude>1.1</latitude>
  <latitude2>1.1</latitude2>
  <longitude>1.1</longitude>
  <longitude2>1.1</longitude2>
  <memo>sample string 23</memo>
  <miscAmount1>1</miscAmount1>
  <miscAmount2>1</miscAmount2>
  <modifyDateTime>2024-04-23T18:55:27.3225716-06:00</modifyDateTime>
  <nombreSucursal>sample string 35</nombreSucursal>
  <orderProcessId>6</orderProcessId>
  <orderSourceId>4</orderSourceId>
  <orderStatusId>5</orderStatusId>
  <orderTypeId>3</orderTypeId>
  <postalCode>sample string 22</postalCode>
  <qouteId>1</qouteId>
  <refNumber>sample string 11</refNumber>
  <shipDate>2024-04-23T18:55:27.3195709-06:00</shipDate>
  <shippingAmount>1</shippingAmount>
  <shippingMethod>sample string 34</shippingMethod>
  <sign>QEA=</sign>
  <state>sample string 20</state>
  <taxAmount1>1</taxAmount1>
  <taxAmount2>1</taxAmount2>
  <tenantId>30</tenantId>
  <toEmail>true</toEmail>
  <toFax>true</toFax>
  <toPrint>true</toPrint>
  <totalAmount>1</totalAmount>
  <totalGrossWeight>1</totalGrossWeight>
  <updatedById>1</updatedById>
  <void>true</void>
  <warehouseId>1</warehouseId>
</creditNoteHeader>

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.