PUT api/Logistics/putSettingLocationDelivery

Request Information

URI Parameters

None.

Body Parameters

mLocationDelivery
NameDescriptionTypeAdditional information
cust_tp_id

integer

None.

cust_id

integer

None.

cust_code

string

None.

iso_code

string

None.

Name

string

None.

cust_address

string

None.

company

string

None.

address_id

integer

None.

Country

string

None.

Province

string

None.

District

string

None.

Sub_District

string

None.

Address

string

None.

Zip

string

None.

add_date

date

None.

roadId

integer

None.

roadName

string

None.

locationDeliveryRoadId

integer

None.

Contact_Name

string

None.

tels

Collection of m_AddPhone

None.

fax

Collection of m_Addfax

None.

Request Formats

application/json, text/json

Sample:
{
  "cust_tp_id": 1,
  "cust_id": 1,
  "cust_code": "sample string 1",
  "iso_code": "sample string 2",
  "Name": "sample string 3",
  "cust_address": "sample string 4",
  "company": "sample string 5",
  "address_id": 6,
  "Country": "sample string 7",
  "Province": "sample string 8",
  "District": "sample string 9",
  "Sub_District": "sample string 10",
  "Address": "sample string 11",
  "Zip": "sample string 12",
  "add_date": "2026-04-07T18:02:46.3215439+07:00",
  "roadId": 1,
  "roadName": "sample string 14",
  "locationDeliveryRoadId": 1,
  "Contact_Name": "sample string 15",
  "tels": [
    {
      "country_code": "sample string 1",
      "phone_number": "sample string 2",
      "phone_type": 64
    },
    {
      "country_code": "sample string 1",
      "phone_number": "sample string 2",
      "phone_type": 64
    }
  ],
  "fax": [
    {
      "country_code": "sample string 1",
      "fax": "sample string 2",
      "phone_type": 64
    },
    {
      "country_code": "sample string 1",
      "fax": "sample string 2",
      "phone_type": 64
    }
  ]
}

application/xml, text/xml

Sample:
<mLocationDelivery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Logistics">
  <Address>sample string 11</Address>
  <Contact_Name>sample string 15</Contact_Name>
  <Country>sample string 7</Country>
  <District>sample string 9</District>
  <Name>sample string 3</Name>
  <Province>sample string 8</Province>
  <Sub_District>sample string 10</Sub_District>
  <Zip>sample string 12</Zip>
  <add_date>2026-04-07T18:02:46.3215439+07:00</add_date>
  <address_id>6</address_id>
  <company>sample string 5</company>
  <cust_address>sample string 4</cust_address>
  <cust_code>sample string 1</cust_code>
  <cust_id>1</cust_id>
  <cust_tp_id>1</cust_tp_id>
  <fax>
    <m_Addfax>
      <country_code>sample string 1</country_code>
      <fax>sample string 2</fax>
      <phone_type>64</phone_type>
    </m_Addfax>
    <m_Addfax>
      <country_code>sample string 1</country_code>
      <fax>sample string 2</fax>
      <phone_type>64</phone_type>
    </m_Addfax>
  </fax>
  <iso_code>sample string 2</iso_code>
  <locationDeliveryRoadId>1</locationDeliveryRoadId>
  <roadId>1</roadId>
  <roadName>sample string 14</roadName>
  <tels>
    <m_AddPhone>
      <country_code>sample string 1</country_code>
      <phone_number>sample string 2</phone_number>
      <phone_type>64</phone_type>
    </m_AddPhone>
    <m_AddPhone>
      <country_code>sample string 1</country_code>
      <phone_number>sample string 2</phone_number>
      <phone_type>64</phone_type>
    </m_AddPhone>
  </tels>
</mLocationDelivery>

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 'mLocationDelivery'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.