POST Api/Post_ARCreditMemo

Request Information

URI Parameters

None.

Body Parameters

ESPL_MODEL_AR_CREDITMEMO
NameDescriptionTypeAdditional information
CardCode

string

None.

PostingDate

string

None.

DocumentDate

string

None.

Warehouse

string

None.

Branch

integer

None.

Remarks

string

None.

OriginalRefNo

string

None.

OriginalRefDate

string

None.

PortalUser

string

None.

Items

Collection of ESPL_MODEL_AR_CREDITMEMO_ITEMS

None.

Request Formats

application/json, text/json

Sample:
{
  "CardCode": "sample string 1",
  "PostingDate": "sample string 2",
  "DocumentDate": "sample string 3",
  "Warehouse": "sample string 4",
  "Branch": 5,
  "Remarks": "sample string 6",
  "OriginalRefNo": "sample string 7",
  "OriginalRefDate": "sample string 8",
  "PortalUser": "sample string 9",
  "Items": [
    {
      "ItemCode": "sample string 1",
      "Quantity": 2.1,
      "Price": 3.1,
      "TaxCode": "sample string 4",
      "Discount": 5.1
    },
    {
      "ItemCode": "sample string 1",
      "Quantity": 2.1,
      "Price": 3.1,
      "TaxCode": "sample string 4",
      "Discount": 5.1
    }
  ]
}

application/xml, text/xml

Sample:
<ESPL_MODEL_AR_CREDITMEMO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESPL_ERP_API">
  <Branch>5</Branch>
  <CardCode>sample string 1</CardCode>
  <DocumentDate>sample string 3</DocumentDate>
  <Items>
    <ESPL_MODEL_AR_CREDITMEMO_ITEMS>
      <Discount>5.1</Discount>
      <ItemCode>sample string 1</ItemCode>
      <Price>3.1</Price>
      <Quantity>2.1</Quantity>
      <TaxCode>sample string 4</TaxCode>
    </ESPL_MODEL_AR_CREDITMEMO_ITEMS>
    <ESPL_MODEL_AR_CREDITMEMO_ITEMS>
      <Discount>5.1</Discount>
      <ItemCode>sample string 1</ItemCode>
      <Price>3.1</Price>
      <Quantity>2.1</Quantity>
      <TaxCode>sample string 4</TaxCode>
    </ESPL_MODEL_AR_CREDITMEMO_ITEMS>
  </Items>
  <OriginalRefDate>sample string 8</OriginalRefDate>
  <OriginalRefNo>sample string 7</OriginalRefNo>
  <PortalUser>sample string 9</PortalUser>
  <PostingDate>sample string 2</PostingDate>
  <Remarks>sample string 6</Remarks>
  <Warehouse>sample string 4</Warehouse>
</ESPL_MODEL_AR_CREDITMEMO>

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.