POST api/Accounting/OrderInterMarkting/DashboardOrderInterMarkting/Sub/Post

Request Information

URI Parameters

None.

Body Parameters

Collection of v_OrderMarktingContact
NameDescriptionTypeAdditional information
orderMarktingContactId

integer

None.

orderMarktingId

integer

None.

ord_id

integer

None.

bookNo

string

String length: inclusive between 0 and 255

remark

string

String length: inclusive between 0 and 255

containerLocation

string

String length: inclusive between 0 and 255

approval

boolean

None.

inspect

boolean

None.

cyDate

date

None.

returnDate

date

None.

closingDate

date

None.

inspectDate

date

None.

boxAmount

integer

None.

sackAmount

integer

None.

pairs

integer

None.

inv_no

string

String length: inclusive between 0 and 30

load_date

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "orderMarktingContactId": 1,
    "orderMarktingId": 2,
    "ord_id": 1,
    "bookNo": "sample string 3",
    "remark": "sample string 4",
    "containerLocation": "sample string 5",
    "approval": true,
    "inspect": true,
    "cyDate": "2026-04-07T18:06:55.1234041+07:00",
    "returnDate": "2026-04-07T18:06:55.1234041+07:00",
    "closingDate": "2026-04-07T18:06:55.1234041+07:00",
    "inspectDate": "2026-04-07T18:06:55.1234041+07:00",
    "boxAmount": 1,
    "sackAmount": 1,
    "pairs": 1,
    "inv_no": "sample string 7",
    "load_date": "2026-04-07T18:06:55.1234041+07:00"
  },
  {
    "orderMarktingContactId": 1,
    "orderMarktingId": 2,
    "ord_id": 1,
    "bookNo": "sample string 3",
    "remark": "sample string 4",
    "containerLocation": "sample string 5",
    "approval": true,
    "inspect": true,
    "cyDate": "2026-04-07T18:06:55.1234041+07:00",
    "returnDate": "2026-04-07T18:06:55.1234041+07:00",
    "closingDate": "2026-04-07T18:06:55.1234041+07:00",
    "inspectDate": "2026-04-07T18:06:55.1234041+07:00",
    "boxAmount": 1,
    "sackAmount": 1,
    "pairs": 1,
    "inv_no": "sample string 7",
    "load_date": "2026-04-07T18:06:55.1234041+07:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfv_OrderMarktingContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Entity.Billing.View">
  <v_OrderMarktingContact>
    <approval>true</approval>
    <bookNo>sample string 3</bookNo>
    <boxAmount>1</boxAmount>
    <closingDate>2026-04-07T18:06:55.1234041+07:00</closingDate>
    <containerLocation>sample string 5</containerLocation>
    <cyDate>2026-04-07T18:06:55.1234041+07:00</cyDate>
    <inspect>true</inspect>
    <inspectDate>2026-04-07T18:06:55.1234041+07:00</inspectDate>
    <inv_no>sample string 7</inv_no>
    <load_date>2026-04-07T18:06:55.1234041+07:00</load_date>
    <ord_id>1</ord_id>
    <orderMarktingContactId>1</orderMarktingContactId>
    <orderMarktingId>2</orderMarktingId>
    <pairs>1</pairs>
    <remark>sample string 4</remark>
    <returnDate>2026-04-07T18:06:55.1234041+07:00</returnDate>
    <sackAmount>1</sackAmount>
  </v_OrderMarktingContact>
  <v_OrderMarktingContact>
    <approval>true</approval>
    <bookNo>sample string 3</bookNo>
    <boxAmount>1</boxAmount>
    <closingDate>2026-04-07T18:06:55.1234041+07:00</closingDate>
    <containerLocation>sample string 5</containerLocation>
    <cyDate>2026-04-07T18:06:55.1234041+07:00</cyDate>
    <inspect>true</inspect>
    <inspectDate>2026-04-07T18:06:55.1234041+07:00</inspectDate>
    <inv_no>sample string 7</inv_no>
    <load_date>2026-04-07T18:06:55.1234041+07:00</load_date>
    <ord_id>1</ord_id>
    <orderMarktingContactId>1</orderMarktingContactId>
    <orderMarktingId>2</orderMarktingId>
    <pairs>1</pairs>
    <remark>sample string 4</remark>
    <returnDate>2026-04-07T18:06:55.1234041+07:00</returnDate>
    <sackAmount>1</sackAmount>
  </v_OrderMarktingContact>
</ArrayOfv_OrderMarktingContact>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.