POST /API/v1/Report/CfsDispatchOrders/CreateByBlNo
B/L番号を指定して、帳票:CFS搬出票を作成します。 ## 概要 ユーザが所属している組織(と事業種別)が作成、または参加している取引の中から、指定されたB/L番号(***blNo***)に該当する取引に対して、帳票:CFS搬出票を作成します。 帳票を作成する条件は、Createメソッドと同じく、その帳票を格納する取引を作成、または参加している組織(と事業種別)に所属するユーザであり、かつ、その帳票に対してWrite権限が必要です。 ただし、指定されたB/L番号(***blNo***)に該当する取引が存在しない、または複数存在する場合はエラーとなります。 帳票:CFS搬出票が取引内にすでに存在する場合は、Getメソッドと同じ動作となりステータスコード:200を返却します。
Request Information
URI Parameters
None.
Body Parameters
CreateReportByBlNoRequest
| Name | Description | Type | Additional information |
|---|---|---|---|
| blNo | B/L番号 |
String |
Required |
| businessTypeId | 事業種別ID |
String |
Required |
| organizationId | 組織ID |
String |
Required |
Response Information
Resource Description
CfsDispatchOrders
| Name | Description | Type | Additional information |
|---|---|---|---|
| _etag | etag |
String |
Required |
| animalInspection | 動物検査有無 |
Boolean, Null |
None. |
| applicationType | 申請種別 |
String, Null |
None. |
| businessTypeId | 事業種別ID |
String |
Required Format : Protect Pattern : ^(?!.*(\?|\$|#|&|,|=)).*$ |
| containerPickUpDate | 搬出日付 |
String, Null |
Format : date |
| containers |
Collection, Null of containers |
Format : Reference("/API/v1/Root/Containers/OData?$select=containerId,dealNo,containerLengthCode,containerHeightCode,containerTypeCode,containerNo,sealNo,demurrageFreeTime,containerPickUpDeadline,containerPickUpDeadlineTime,demurrageInformation,detentionFreeTime,containerReturnDeadline,containerReturnDeadlineTime,detentionInformation,containerRemarks,partitionNo&$filter=dealNo+eq+{value}&$orderby=containerNo",containerId,dealNo,containerLengthCode,containerHeightCode,containerTypeCode,containerNo,sealNo,demurrageFreeTime,containerPickUpDeadline,containerPickUpDeadlineTime,demurrageInformation,detentionFreeTime,containerReturnDeadline,containerReturnDeadlineTime,detentionInformation,containerRemarks,partitionNo);Protect;Notify |
|
| customsInspection | 税関検査有無 |
Boolean, Null |
None. |
| dealInformation |
Required |
||
| dealReportId | 取引・帳票ID |
String |
Required |
| dispatchType | 搬出形態 |
String, Null |
None. |
| exportImportPermissionNo | 輸出入許可番号 |
String, Null |
None. |
| importInstructionNo | I/I番号 |
String, Null |
None. |
| invoice |
Required |
||
| note1 | 備考1 |
String, Null |
Min length: 0 Max length: 140 |
| note2 | 備考2 |
String, Null |
None. |
| note3 | 備考3 |
String, Null |
None. |
| organizationId | 組織ID |
String |
Required Format : Protect Pattern : ^(?!.*(\?|\$|#|&|,|=)).*$ |
| partitionNo | パーティション番号 |
Integer, Null |
Format : Protect |
| plantInspection | 植物検査有無 |
Boolean, Null |
None. |
| printedDate | 書類発行日 |
String, Null |
Format : date |
| publisherCompanyName | 書類発行者_会社名 |
String, Null |
None. |
| publisherFax | 書類発行者_FAX番号 |
String, Null |
None. |
| publisherPersonInCharge | 書類発行者_担当者 |
String, Null |
None. |
| publisherTel | 書類発行者_電話番号 |
String, Null |
None. |
| remarks | 摘要 |
String, Null |
None. |
| representativeCommodities |
Collection, Null of representativeCommodities |
Format : Reference("/API/v1/Root/RepresentativeCommodities/OData?$select=representativeCommodityId,dealNo,sortNo,marksAndNumbers,partitionNo&$filter=dealNo+eq+{value}&$orderby=sortNo",representativeCommodityId,dealNo,sortNo,marksAndNumbers,partitionNo);Protect;OwnerWritable |
|
| reservationNo | 搬出予約番号 |
String, Null |
None. |
| returnAfterInspection | 税関後返却 |
String, Null |
None. |
| storageFee | 保管料有無 |
Boolean, Null |
None. |