PUT api/Accounting/OrderInterMarkting/SaveDetail/{orderMarktingId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderMarktingId

integer

Required

Body Parameters

m_SaveDetail_InteMarkting
NameDescriptionTypeAdditional information
ord_id

integer

None.

cmi_id

integer

None.

comfirmOrder

boolean

None.

comfirmDate

date

None.

cyDate

date

None.

returnDate

date

None.

closingDate

date

None.

containerLocation

string

None.

inspect

boolean

None.

inspectDate

date

None.

approval

boolean

None.

address_id

integer

None.

road

string

None.

bookNo

string

None.

remark

string

None.

thb

decimal number

None.

date

date

None.

exchangeRate

decimal number

None.

remark_doc

string

None.

remarked

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ord_id": 1,
  "cmi_id": 1,
  "comfirmOrder": true,
  "comfirmDate": "2026-04-07T18:07:45.2347032+07:00",
  "cyDate": "2026-04-07T18:07:45.2347032+07:00",
  "returnDate": "2026-04-07T18:07:45.2347032+07:00",
  "closingDate": "2026-04-07T18:07:45.2347032+07:00",
  "containerLocation": "sample string 1",
  "inspect": true,
  "inspectDate": "2026-04-07T18:07:45.2347032+07:00",
  "approval": true,
  "address_id": 1,
  "road": "sample string 4",
  "bookNo": "sample string 5",
  "remark": "sample string 6",
  "thb": 1.0,
  "date": "2026-04-07T18:07:45.2347032+07:00",
  "exchangeRate": 1.0,
  "remark_doc": "sample string 7",
  "remarked": "sample string 8"
}

application/xml, text/xml

Sample:
<m_SaveDetail_InteMarkting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Accounting">
  <address_id>1</address_id>
  <approval>true</approval>
  <bookNo>sample string 5</bookNo>
  <closingDate>2026-04-07T18:07:45.2347032+07:00</closingDate>
  <cmi_id>1</cmi_id>
  <comfirmDate>2026-04-07T18:07:45.2347032+07:00</comfirmDate>
  <comfirmOrder>true</comfirmOrder>
  <containerLocation>sample string 1</containerLocation>
  <cyDate>2026-04-07T18:07:45.2347032+07:00</cyDate>
  <date>2026-04-07T18:07:45.2347032+07:00</date>
  <exchangeRate>1</exchangeRate>
  <inspect>true</inspect>
  <inspectDate>2026-04-07T18:07:45.2347032+07:00</inspectDate>
  <ord_id>1</ord_id>
  <remark>sample string 6</remark>
  <remark_doc>sample string 7</remark_doc>
  <remarked>sample string 8</remarked>
  <returnDate>2026-04-07T18:07:45.2347032+07:00</returnDate>
  <road>sample string 4</road>
  <thb>1</thb>
</m_SaveDetail_InteMarkting>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.