POST jxc_api/CustomerCode/Save

Request Information

URI Parameters

None.

Body Parameters

Collection of CustomerCodeEditModel
NameDescriptionTypeAdditional information
CustId

integer

None.

ProdId

integer

None.

UnitIt

string

None.

OldCustId

integer

None.

OldProdId

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "CustId": 1,
    "ProdId": 2,
    "UnitIt": "sample string 3",
    "OldCustId": 4,
    "OldProdId": 5
  },
  {
    "CustId": 1,
    "ProdId": 2,
    "UnitIt": "sample string 3",
    "OldCustId": 4,
    "OldProdId": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerCodeEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <CustomerCodeEditModel>
    <CustId>1</CustId>
    <OldCustId>4</OldCustId>
    <OldProdId>5</OldProdId>
    <ProdId>2</ProdId>
    <UnitIt>sample string 3</UnitIt>
  </CustomerCodeEditModel>
  <CustomerCodeEditModel>
    <CustId>1</CustId>
    <OldCustId>4</OldCustId>
    <OldProdId>5</OldProdId>
    <ProdId>2</ProdId>
    <UnitIt>sample string 3</UnitIt>
  </CustomerCodeEditModel>
</ArrayOfCustomerCodeEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.