PUT api/PerformaInvoice/UpdateHsCode/{hs_code_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
hs_code_id

integer

Required

Body Parameters

MHsCode
NameDescriptionTypeAdditional information
hs_code

decimal number

Required

Range: inclusive between 0 and 1.79769313486232E+308

upper_type_name

string

Required

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "hs_code": 1.1,
  "upper_type_name": "sample string 2"
}

application/xml, text/xml

Sample:
<MHsCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <hs_code>1.1</hs_code>
  <upper_type_name>sample string 2</upper_type_name>
</MHsCode>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.