POST api/Customer/GetCustomerData

Request Information

URI Parameters

None.

Body Parameters

GetCustomerParams
NameDescriptionTypeAdditional information
SalesmanId

string

None.

TenantId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SalesmanId": "sample string 1",
  "TenantId": "sample string 2"
}

application/xml, text/xml

Sample:
<GetCustomerParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JashanMallAPI.DataContracts">
  <SalesmanId>sample string 1</SalesmanId>
  <TenantId>sample string 2</TenantId>
</GetCustomerParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetCustomerResult
NameDescriptionTypeAdditional information
Data

GetCustomerDataContract

None.

StatusCode

string

None.

Message

string

None.

Status

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "CustomerList": [
      {
        "CUSTOMER_NAME": "sample string 1",
        "CUSTOMER_CLASS_CODE": "sample string 2",
        "CUSTOMER_LAST_UPDATE_DATE": "sample string 3",
        "CUSTOMER_ACCOUNT_ID": "sample string 4",
        "CUSTOMER_ACCOUNT_NAME": "sample string 5",
        "CUSTOMER_ACCOUNT_NUMBER": "sample string 6",
        "CUSTOMER_VAT_NUMBER": "sample string 7",
        "CUSTOMER_CREDIT_LIMIT": "sample string 8",
        "CUSTOMER_OUTSTANDING_BALANCE": "sample string 9",
        "CUSTOMER_ACCOUNT_STATUS": "sample string 10",
        "PAYMENT_METHOD": "sample string 11",
        "CUSTOMER_SITE_ID": "sample string 12",
        "SITE_OU_CODE": "sample string 13",
        "SITE_OU_ID": "sample string 14",
        "SITE_NUMBER": "sample string 15",
        "CUST_SITE_CREATION_DATE": "sample string 16",
        "CUST_SITE_LAST_UPD_DATE": "sample string 17",
        "BILL_TO_FLAG": "sample string 18",
        "SHIP_TO_FLAG": "sample string 19",
        "ADDRESS_LINE1": "sample string 20",
        "ADDRESS_LINE2": "sample string 21",
        "ADDRESS_LINE3": "sample string 22",
        "ADDRESS_LINE4": "sample string 23",
        "POSTAL_CODE": "sample string 24",
        "CITY": "sample string 25",
        "STATE": "sample string 26",
        "COUNTRY": "sample string 27",
        "BLOCK": "sample string 28",
        "BUILDING": "sample string 29",
        "ROAD": "sample string 30",
        "SHOP": "sample string 31",
        "AREA": "sample string 32",
        "STREET": "sample string 33",
        "REGION": "sample string 34",
        "PROVINCE": "sample string 35",
        "PACI_NUMBER": "sample string 36",
        "GPS_GEOLOCATION": "sample string 37",
        "SITE_STATUS": "sample string 38",
        "ADDRESS_LAST_UPDATE_DATE": "sample string 39",
        "BILL_TO_LOCATION": "sample string 40",
        "SHIP_TO_LOCATION": "sample string 41",
        "BILL_SITE_USE_ID": "sample string 42",
        "CONTACT_ID": 43.0,
        "SALUTATION": "sample string 44",
        "FIRST_NAME": "sample string 45",
        "LAST_NAME": "sample string 46",
        "STATUS": "sample string 47",
        "EMAIL_ADDRESS": "sample string 48",
        "MOBILE": "sample string 49",
        "TELEPHONE": "sample string 50",
        "FAX": "sample string 51",
        "TenantID": "sample string 52"
      },
      {
        "CUSTOMER_NAME": "sample string 1",
        "CUSTOMER_CLASS_CODE": "sample string 2",
        "CUSTOMER_LAST_UPDATE_DATE": "sample string 3",
        "CUSTOMER_ACCOUNT_ID": "sample string 4",
        "CUSTOMER_ACCOUNT_NAME": "sample string 5",
        "CUSTOMER_ACCOUNT_NUMBER": "sample string 6",
        "CUSTOMER_VAT_NUMBER": "sample string 7",
        "CUSTOMER_CREDIT_LIMIT": "sample string 8",
        "CUSTOMER_OUTSTANDING_BALANCE": "sample string 9",
        "CUSTOMER_ACCOUNT_STATUS": "sample string 10",
        "PAYMENT_METHOD": "sample string 11",
        "CUSTOMER_SITE_ID": "sample string 12",
        "SITE_OU_CODE": "sample string 13",
        "SITE_OU_ID": "sample string 14",
        "SITE_NUMBER": "sample string 15",
        "CUST_SITE_CREATION_DATE": "sample string 16",
        "CUST_SITE_LAST_UPD_DATE": "sample string 17",
        "BILL_TO_FLAG": "sample string 18",
        "SHIP_TO_FLAG": "sample string 19",
        "ADDRESS_LINE1": "sample string 20",
        "ADDRESS_LINE2": "sample string 21",
        "ADDRESS_LINE3": "sample string 22",
        "ADDRESS_LINE4": "sample string 23",
        "POSTAL_CODE": "sample string 24",
        "CITY": "sample string 25",
        "STATE": "sample string 26",
        "COUNTRY": "sample string 27",
        "BLOCK": "sample string 28",
        "BUILDING": "sample string 29",
        "ROAD": "sample string 30",
        "SHOP": "sample string 31",
        "AREA": "sample string 32",
        "STREET": "sample string 33",
        "REGION": "sample string 34",
        "PROVINCE": "sample string 35",
        "PACI_NUMBER": "sample string 36",
        "GPS_GEOLOCATION": "sample string 37",
        "SITE_STATUS": "sample string 38",
        "ADDRESS_LAST_UPDATE_DATE": "sample string 39",
        "BILL_TO_LOCATION": "sample string 40",
        "SHIP_TO_LOCATION": "sample string 41",
        "BILL_SITE_USE_ID": "sample string 42",
        "CONTACT_ID": 43.0,
        "SALUTATION": "sample string 44",
        "FIRST_NAME": "sample string 45",
        "LAST_NAME": "sample string 46",
        "STATUS": "sample string 47",
        "EMAIL_ADDRESS": "sample string 48",
        "MOBILE": "sample string 49",
        "TELEPHONE": "sample string 50",
        "FAX": "sample string 51",
        "TenantID": "sample string 52"
      }
    ]
  },
  "StatusCode": "sample string 1",
  "Message": "sample string 2",
  "Status": "sample string 3"
}

application/xml, text/xml

Sample:
<GetCustomerResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JashanMallAPI.DataContracts">
  <Data>
    <CustomerList>
      <CustomerContract>
        <ADDRESS_LAST_UPDATE_DATE>sample string 39</ADDRESS_LAST_UPDATE_DATE>
        <ADDRESS_LINE1>sample string 20</ADDRESS_LINE1>
        <ADDRESS_LINE2>sample string 21</ADDRESS_LINE2>
        <ADDRESS_LINE3>sample string 22</ADDRESS_LINE3>
        <ADDRESS_LINE4>sample string 23</ADDRESS_LINE4>
        <AREA>sample string 32</AREA>
        <BILL_SITE_USE_ID>sample string 42</BILL_SITE_USE_ID>
        <BILL_TO_FLAG>sample string 18</BILL_TO_FLAG>
        <BILL_TO_LOCATION>sample string 40</BILL_TO_LOCATION>
        <BLOCK>sample string 28</BLOCK>
        <BUILDING>sample string 29</BUILDING>
        <CITY>sample string 25</CITY>
        <CONTACT_ID>43</CONTACT_ID>
        <COUNTRY>sample string 27</COUNTRY>
        <CUSTOMER_ACCOUNT_ID>sample string 4</CUSTOMER_ACCOUNT_ID>
        <CUSTOMER_ACCOUNT_NAME>sample string 5</CUSTOMER_ACCOUNT_NAME>
        <CUSTOMER_ACCOUNT_NUMBER>sample string 6</CUSTOMER_ACCOUNT_NUMBER>
        <CUSTOMER_ACCOUNT_STATUS>sample string 10</CUSTOMER_ACCOUNT_STATUS>
        <CUSTOMER_CLASS_CODE>sample string 2</CUSTOMER_CLASS_CODE>
        <CUSTOMER_CREDIT_LIMIT>sample string 8</CUSTOMER_CREDIT_LIMIT>
        <CUSTOMER_LAST_UPDATE_DATE>sample string 3</CUSTOMER_LAST_UPDATE_DATE>
        <CUSTOMER_NAME>sample string 1</CUSTOMER_NAME>
        <CUSTOMER_OUTSTANDING_BALANCE>sample string 9</CUSTOMER_OUTSTANDING_BALANCE>
        <CUSTOMER_SITE_ID>sample string 12</CUSTOMER_SITE_ID>
        <CUSTOMER_VAT_NUMBER>sample string 7</CUSTOMER_VAT_NUMBER>
        <CUST_SITE_CREATION_DATE>sample string 16</CUST_SITE_CREATION_DATE>
        <CUST_SITE_LAST_UPD_DATE>sample string 17</CUST_SITE_LAST_UPD_DATE>
        <EMAIL_ADDRESS>sample string 48</EMAIL_ADDRESS>
        <FAX>sample string 51</FAX>
        <FIRST_NAME>sample string 45</FIRST_NAME>
        <GPS_GEOLOCATION>sample string 37</GPS_GEOLOCATION>
        <LAST_NAME>sample string 46</LAST_NAME>
        <MOBILE>sample string 49</MOBILE>
        <PACI_NUMBER>sample string 36</PACI_NUMBER>
        <PAYMENT_METHOD>sample string 11</PAYMENT_METHOD>
        <POSTAL_CODE>sample string 24</POSTAL_CODE>
        <PROVINCE>sample string 35</PROVINCE>
        <REGION>sample string 34</REGION>
        <ROAD>sample string 30</ROAD>
        <SALUTATION>sample string 44</SALUTATION>
        <SHIP_TO_FLAG>sample string 19</SHIP_TO_FLAG>
        <SHIP_TO_LOCATION>sample string 41</SHIP_TO_LOCATION>
        <SHOP>sample string 31</SHOP>
        <SITE_NUMBER>sample string 15</SITE_NUMBER>
        <SITE_OU_CODE>sample string 13</SITE_OU_CODE>
        <SITE_OU_ID>sample string 14</SITE_OU_ID>
        <SITE_STATUS>sample string 38</SITE_STATUS>
        <STATE>sample string 26</STATE>
        <STATUS>sample string 47</STATUS>
        <STREET>sample string 33</STREET>
        <TELEPHONE>sample string 50</TELEPHONE>
        <TenantID>sample string 52</TenantID>
      </CustomerContract>
      <CustomerContract>
        <ADDRESS_LAST_UPDATE_DATE>sample string 39</ADDRESS_LAST_UPDATE_DATE>
        <ADDRESS_LINE1>sample string 20</ADDRESS_LINE1>
        <ADDRESS_LINE2>sample string 21</ADDRESS_LINE2>
        <ADDRESS_LINE3>sample string 22</ADDRESS_LINE3>
        <ADDRESS_LINE4>sample string 23</ADDRESS_LINE4>
        <AREA>sample string 32</AREA>
        <BILL_SITE_USE_ID>sample string 42</BILL_SITE_USE_ID>
        <BILL_TO_FLAG>sample string 18</BILL_TO_FLAG>
        <BILL_TO_LOCATION>sample string 40</BILL_TO_LOCATION>
        <BLOCK>sample string 28</BLOCK>
        <BUILDING>sample string 29</BUILDING>
        <CITY>sample string 25</CITY>
        <CONTACT_ID>43</CONTACT_ID>
        <COUNTRY>sample string 27</COUNTRY>
        <CUSTOMER_ACCOUNT_ID>sample string 4</CUSTOMER_ACCOUNT_ID>
        <CUSTOMER_ACCOUNT_NAME>sample string 5</CUSTOMER_ACCOUNT_NAME>
        <CUSTOMER_ACCOUNT_NUMBER>sample string 6</CUSTOMER_ACCOUNT_NUMBER>
        <CUSTOMER_ACCOUNT_STATUS>sample string 10</CUSTOMER_ACCOUNT_STATUS>
        <CUSTOMER_CLASS_CODE>sample string 2</CUSTOMER_CLASS_CODE>
        <CUSTOMER_CREDIT_LIMIT>sample string 8</CUSTOMER_CREDIT_LIMIT>
        <CUSTOMER_LAST_UPDATE_DATE>sample string 3</CUSTOMER_LAST_UPDATE_DATE>
        <CUSTOMER_NAME>sample string 1</CUSTOMER_NAME>
        <CUSTOMER_OUTSTANDING_BALANCE>sample string 9</CUSTOMER_OUTSTANDING_BALANCE>
        <CUSTOMER_SITE_ID>sample string 12</CUSTOMER_SITE_ID>
        <CUSTOMER_VAT_NUMBER>sample string 7</CUSTOMER_VAT_NUMBER>
        <CUST_SITE_CREATION_DATE>sample string 16</CUST_SITE_CREATION_DATE>
        <CUST_SITE_LAST_UPD_DATE>sample string 17</CUST_SITE_LAST_UPD_DATE>
        <EMAIL_ADDRESS>sample string 48</EMAIL_ADDRESS>
        <FAX>sample string 51</FAX>
        <FIRST_NAME>sample string 45</FIRST_NAME>
        <GPS_GEOLOCATION>sample string 37</GPS_GEOLOCATION>
        <LAST_NAME>sample string 46</LAST_NAME>
        <MOBILE>sample string 49</MOBILE>
        <PACI_NUMBER>sample string 36</PACI_NUMBER>
        <PAYMENT_METHOD>sample string 11</PAYMENT_METHOD>
        <POSTAL_CODE>sample string 24</POSTAL_CODE>
        <PROVINCE>sample string 35</PROVINCE>
        <REGION>sample string 34</REGION>
        <ROAD>sample string 30</ROAD>
        <SALUTATION>sample string 44</SALUTATION>
        <SHIP_TO_FLAG>sample string 19</SHIP_TO_FLAG>
        <SHIP_TO_LOCATION>sample string 41</SHIP_TO_LOCATION>
        <SHOP>sample string 31</SHOP>
        <SITE_NUMBER>sample string 15</SITE_NUMBER>
        <SITE_OU_CODE>sample string 13</SITE_OU_CODE>
        <SITE_OU_ID>sample string 14</SITE_OU_ID>
        <SITE_STATUS>sample string 38</SITE_STATUS>
        <STATE>sample string 26</STATE>
        <STATUS>sample string 47</STATUS>
        <STREET>sample string 33</STREET>
        <TELEPHONE>sample string 50</TELEPHONE>
        <TenantID>sample string 52</TenantID>
      </CustomerContract>
    </CustomerList>
  </Data>
  <Message>sample string 2</Message>
  <Status>sample string 3</Status>
  <StatusCode>sample string 1</StatusCode>
</GetCustomerResult>