POST api/CustomerMasterImport

Request Information

URI Parameters

None.

Body Parameters

CustomerMasterImport
NameDescriptionTypeAdditional information
FACILITY

string

None.

CUST_ID

string

None.

CUST_NAME

string

None.

TERMS

string

None.

HOST_COMMENT

string

None.

INACTIVE_FLAG

string

None.

SHIP_ADDR_LINE1

string

None.

SHIP_ADDR_LINE2

string

None.

SHIP_CITY

string

None.

SHIP_STATE

string

None.

SHIP_ZIP

string

None.

SHIP_COUNTRY

string

None.

SHIP_CONTACT_NAME

string

None.

SHIP_CONTACT_TEL

string

None.

SHIP_CONTACT_FAX

string

None.

BILL_ADDR_LINE1

string

None.

BILL_ADDR_LINE2

string

None.

BILL_CITY

string

None.

BILL_STATE

string

None.

BILL_ZIP

string

None.

BILL_COUNTRY

string

None.

BILL_CONTACT_NAME

string

None.

BILL_CONTACT_TEL

string

None.

BILL_CONTACT_FAX

string

None.

STATUS_FLAG

string

None.

TERMS_ID

string

None.

SHIP_TO_TITLE

string

None.

BILL_TO_NAME

string

None.

ROUTE_AREAID

string

None.

PAST_DUE_PERIOD1

decimal number

None.

PAST_DUE_PERIOD2

decimal number

None.

PAST_DUE_PERIOD3

decimal number

None.

PAST_DUE_PERIOD4

decimal number

None.

MASTER_CUSTID

string

None.

CREDIT_RISK_RATING

string

None.

CREDIT_LIMIT

decimal number

None.

OPENAMOUNT

decimal number

None.

PROMOTION_ALLOWANCE

decimal number

None.

PROMOTION_ALLOWANCE_CONSUMED

decimal number

None.

CNTR_GROUP_ID

string

None.

PREVENT_ORGANIC_FLAG

string

None.

CUST_CATEGORY

string

None.

NotesList

Collection of NotesImport

None.

CustomList

Collection of ModelCustomData

None.

Request Formats

application/json, text/json

Sample:
{
  "FACILITY": "sample string 1",
  "CUST_ID": "sample string 2",
  "CUST_NAME": "sample string 3",
  "TERMS": "sample string 4",
  "HOST_COMMENT": "sample string 5",
  "INACTIVE_FLAG": "sample string 6",
  "SHIP_ADDR_LINE1": "sample string 7",
  "SHIP_ADDR_LINE2": "sample string 8",
  "SHIP_CITY": "sample string 9",
  "SHIP_STATE": "sample string 10",
  "SHIP_ZIP": "sample string 11",
  "SHIP_COUNTRY": "sample string 12",
  "SHIP_CONTACT_NAME": "sample string 13",
  "SHIP_CONTACT_TEL": "sample string 14",
  "SHIP_CONTACT_FAX": "sample string 15",
  "BILL_ADDR_LINE1": "sample string 16",
  "BILL_ADDR_LINE2": "sample string 17",
  "BILL_CITY": "sample string 18",
  "BILL_STATE": "sample string 19",
  "BILL_ZIP": "sample string 20",
  "BILL_COUNTRY": "sample string 21",
  "BILL_CONTACT_NAME": "sample string 22",
  "BILL_CONTACT_TEL": "sample string 23",
  "BILL_CONTACT_FAX": "sample string 24",
  "STATUS_FLAG": "sample string 25",
  "TERMS_ID": "sample string 26",
  "SHIP_TO_TITLE": "sample string 27",
  "BILL_TO_NAME": "sample string 28",
  "ROUTE_AREAID": "sample string 29",
  "PAST_DUE_PERIOD1": 30.1,
  "PAST_DUE_PERIOD2": 31.1,
  "PAST_DUE_PERIOD3": 32.1,
  "PAST_DUE_PERIOD4": 33.1,
  "MASTER_CUSTID": "sample string 34",
  "CREDIT_RISK_RATING": "sample string 35",
  "CREDIT_LIMIT": 36.1,
  "OPENAMOUNT": 37.1,
  "PROMOTION_ALLOWANCE": 38.1,
  "PROMOTION_ALLOWANCE_CONSUMED": 39.1,
  "CNTR_GROUP_ID": "sample string 40",
  "PREVENT_ORGANIC_FLAG": "sample string 41",
  "CUST_CATEGORY": "sample string 42",
  "NotesList": [
    {
      "SEQNUM": 1,
      "TYPE": "sample string 2",
      "NOTE": "sample string 3"
    },
    {
      "SEQNUM": 1,
      "TYPE": "sample string 2",
      "NOTE": "sample string 3"
    }
  ],
  "CustomList": null
}

application/xml, text/xml

Sample:
<CustomerMasterImport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASCTracInterfaceModel.Model.Customer">
  <BILL_ADDR_LINE1>sample string 16</BILL_ADDR_LINE1>
  <BILL_ADDR_LINE2>sample string 17</BILL_ADDR_LINE2>
  <BILL_CITY>sample string 18</BILL_CITY>
  <BILL_CONTACT_FAX>sample string 24</BILL_CONTACT_FAX>
  <BILL_CONTACT_NAME>sample string 22</BILL_CONTACT_NAME>
  <BILL_CONTACT_TEL>sample string 23</BILL_CONTACT_TEL>
  <BILL_COUNTRY>sample string 21</BILL_COUNTRY>
  <BILL_STATE>sample string 19</BILL_STATE>
  <BILL_TO_NAME>sample string 28</BILL_TO_NAME>
  <BILL_ZIP>sample string 20</BILL_ZIP>
  <CNTR_GROUP_ID>sample string 40</CNTR_GROUP_ID>
  <CREDIT_LIMIT>36.1</CREDIT_LIMIT>
  <CREDIT_RISK_RATING>sample string 35</CREDIT_RISK_RATING>
  <CUST_CATEGORY>sample string 42</CUST_CATEGORY>
  <CUST_ID>sample string 2</CUST_ID>
  <CUST_NAME>sample string 3</CUST_NAME>
  <CustomList xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASCTracInterfaceModel.Model" i:nil="true" />
  <FACILITY>sample string 1</FACILITY>
  <HOST_COMMENT>sample string 5</HOST_COMMENT>
  <INACTIVE_FLAG>sample string 6</INACTIVE_FLAG>
  <MASTER_CUSTID>sample string 34</MASTER_CUSTID>
  <NotesList xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASCTracInterfaceModel.Model">
    <d2p1:NotesImport>
      <d2p1:NOTE>sample string 3</d2p1:NOTE>
      <d2p1:SEQNUM>1</d2p1:SEQNUM>
      <d2p1:TYPE>sample string 2</d2p1:TYPE>
    </d2p1:NotesImport>
    <d2p1:NotesImport>
      <d2p1:NOTE>sample string 3</d2p1:NOTE>
      <d2p1:SEQNUM>1</d2p1:SEQNUM>
      <d2p1:TYPE>sample string 2</d2p1:TYPE>
    </d2p1:NotesImport>
  </NotesList>
  <OPENAMOUNT>37.1</OPENAMOUNT>
  <PAST_DUE_PERIOD1>30.1</PAST_DUE_PERIOD1>
  <PAST_DUE_PERIOD2>31.1</PAST_DUE_PERIOD2>
  <PAST_DUE_PERIOD3>32.1</PAST_DUE_PERIOD3>
  <PAST_DUE_PERIOD4>33.1</PAST_DUE_PERIOD4>
  <PREVENT_ORGANIC_FLAG>sample string 41</PREVENT_ORGANIC_FLAG>
  <PROMOTION_ALLOWANCE>38.1</PROMOTION_ALLOWANCE>
  <PROMOTION_ALLOWANCE_CONSUMED>39.1</PROMOTION_ALLOWANCE_CONSUMED>
  <ROUTE_AREAID>sample string 29</ROUTE_AREAID>
  <SHIP_ADDR_LINE1>sample string 7</SHIP_ADDR_LINE1>
  <SHIP_ADDR_LINE2>sample string 8</SHIP_ADDR_LINE2>
  <SHIP_CITY>sample string 9</SHIP_CITY>
  <SHIP_CONTACT_FAX>sample string 15</SHIP_CONTACT_FAX>
  <SHIP_CONTACT_NAME>sample string 13</SHIP_CONTACT_NAME>
  <SHIP_CONTACT_TEL>sample string 14</SHIP_CONTACT_TEL>
  <SHIP_COUNTRY>sample string 12</SHIP_COUNTRY>
  <SHIP_STATE>sample string 10</SHIP_STATE>
  <SHIP_TO_TITLE>sample string 27</SHIP_TO_TITLE>
  <SHIP_ZIP>sample string 11</SHIP_ZIP>
  <STATUS_FLAG>sample string 25</STATUS_FLAG>
  <TERMS>sample string 4</TERMS>
  <TERMS_ID>sample string 26</TERMS_ID>
</CustomerMasterImport>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomerMasterImport'.

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.