PUT api/PerformaInvoice/UpdateRecieverCustomer/{tp_id}

Update Reciever Customer

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tp_id

integer

Required

Body Parameters

m_Reciever
NameDescriptionTypeAdditional information
company_name

string

Required

Max length: 1000

address

string

Required

Max length: 1000

city

string

Required

country_code

string

None.

country

string

Required

postcode

string

None.

tels

Collection of m_tel2

None.

faxs

Collection of m_fax2

None.

consignee

boolean

None.

notify_party

boolean

None.

cargo

boolean

None.

filed

Collection of m_another_filed

None.

Request Formats

application/json, text/json

Sample:
{
  "company_name": "sample string 1",
  "address": "sample string 2",
  "city": "sample string 3",
  "country_code": "sample string 4",
  "country": "sample string 5",
  "postcode": "sample string 6",
  "tels": [
    {
      "iso_code": "sample string 1",
      "country_code": "sample string 2",
      "phone_number": "sample string 3"
    },
    {
      "iso_code": "sample string 1",
      "country_code": "sample string 2",
      "phone_number": "sample string 3"
    }
  ],
  "faxs": [
    {
      "iso_code": "sample string 1",
      "country_code": "sample string 2",
      "fax": "sample string 3"
    },
    {
      "iso_code": "sample string 1",
      "country_code": "sample string 2",
      "fax": "sample string 3"
    }
  ],
  "consignee": true,
  "notify_party": true,
  "cargo": true,
  "filed": [
    {
      "name": "sample string 1",
      "value": "sample string 2"
    },
    {
      "name": "sample string 1",
      "value": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<m_Reciever xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.Planning_Department.Proforma_Invoce">
  <address>sample string 2</address>
  <cargo>true</cargo>
  <city>sample string 3</city>
  <company_name>sample string 1</company_name>
  <consignee>true</consignee>
  <country>sample string 5</country>
  <country_code>sample string 4</country_code>
  <faxs>
    <m_fax2>
      <country_code>sample string 2</country_code>
      <fax>sample string 3</fax>
      <iso_code>sample string 1</iso_code>
    </m_fax2>
    <m_fax2>
      <country_code>sample string 2</country_code>
      <fax>sample string 3</fax>
      <iso_code>sample string 1</iso_code>
    </m_fax2>
  </faxs>
  <filed>
    <m_another_filed>
      <name>sample string 1</name>
      <value>sample string 2</value>
    </m_another_filed>
    <m_another_filed>
      <name>sample string 1</name>
      <value>sample string 2</value>
    </m_another_filed>
  </filed>
  <notify_party>true</notify_party>
  <postcode>sample string 6</postcode>
  <tels>
    <m_tel2>
      <country_code>sample string 2</country_code>
      <iso_code>sample string 1</iso_code>
      <phone_number>sample string 3</phone_number>
    </m_tel2>
    <m_tel2>
      <country_code>sample string 2</country_code>
      <iso_code>sample string 1</iso_code>
      <phone_number>sample string 3</phone_number>
    </m_tel2>
  </tels>
</m_Reciever>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.