POST /API/v1/NaccsReport/ImportCargoCorrections/CreateByBookingNo
ブッキング番号を指定して、帳票:SAIを作成します。 ## 概要 ユーザが所属している組織(と事業種別)が作成、または参加している取引の中から、指定された船社コード(***scacCode***)とブッキング番号(***bookingNo***)に該当する取引に対して、帳票:SAIを作成します。 帳票を作成する条件は、Createメソッドと同じく、その帳票を格納する取引を作成、または参加している組織(と事業種別)に所属するユーザであり、かつ、その帳票に対してWrite権限が必要です。 ただし、指定された船社コード(***scacCode***)とブッキング番号(***bookingNo***)に該当する取引が存在しない、または複数存在する場合はエラーとなります。 帳票:SAIが取引内にすでに存在する場合は、Getメソッドと同じ動作となりステータスコード:200を返却します。
Request Information
URI Parameters
None.
Body Parameters
CreateReportByBookingNoRequest
CreateReportByBookingNoRequest
| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingNo | ブッキング番号 |
String |
Required |
| businessTypeId | 事業種別ID |
String |
Required |
| organizationId | 組織ID |
String |
Required |
| scacCode | 船社コード |
String |
Required |
Response Information
Resource Description
ImportCargoCorrections
| Name | Description | Type | Additional information |
|---|---|---|---|
| _etag | etag |
String |
Required |
| arrivalDate | 入港年月日 |
String, Null |
None. |
| article | 記事 |
String, Null |
None. |
| blNo | B/L番号 |
String, Null |
None. |
| bondedTransportApprovalNumberetc | 保税運送承認番号等 |
String, Null |
None. |
| businessTypeId | 事業種別ID |
String |
Required Format : Protect Pattern : ^(?!.*(\?|\$|#|&|,|=)).*$ |
| carryinArrivalTime | 搬入時刻 |
String, Null |
None. |
| consigneeAddress1 | 荷受人住所1/4(Street and number/P.O.Box) |
String, Null |
None. |
| consigneeAddress2 | 荷受人住所2/4(Street and number/P.O.Box) |
String, Null |
None. |
| consigneeAddress3 | 荷受人住所3/4(City name) |
String, Null |
None. |
| consigneeAddress4 | 荷受人住所4/4(Country sub-entity, name) |
String, Null |
None. |
| consigneeAddressAll | 荷受人住所(連続入力) |
String, Null |
None. |
| consigneeCode | 荷受人コード |
String, Null |
None. |
| consigneeCountryCodeCountryCoded | 荷受人国名コード(Country, coded) |
String, Null |
None. |
| consigneeName | 荷受人名 |
String, Null |
None. |
| consigneePostalCodePostCodeId | 荷受人郵便番号(Postcode identification) |
String, Null |
None. |
| consigneeTel | 荷受人電話番号 |
String, Null |
None. |
| containerNumbers |
Collection, Null of containerNumbers |
None. |
|
| containers |
Collection, Null of containers |
Format : Reference("/API/v1/Root/Containers/OData?$select=containerNo,sealNo,containerLengthCode,containerHeightCode,containerTypeCode,containerId,dealNo,partitionNo&$filter=dealNo+eq+{value}&$orderby=containerNo",containerNo,sealNo,containerLengthCode,containerHeightCode,containerTypeCode,containerId,dealNo,partitionNo);Protect;Notify |
|
| correctionReasonCode | 訂正理由コード |
String, Null |
None. |
| dealInformation |
Required |
||
| dealReportId | 取引・帳票ID |
String |
Required |
| deliveryDate | 搬入年月日 |
String, Null |
None. |
| finalDestinationCode | 最終仕向地コード |
String, Null |
None. |
| finalDestinationName | 最終仕向地名 |
String, Null |
None. |
| invoice |
Required |
||
| loadingVesselName | 積載船名 |
String, Null |
None. |
| netWeight | ネット重量 |
Number, Null |
Format : Number(9,3) Minimum : 0 |
| netWeightUnitCode | ネット重量単位コード |
String, Null |
None. |
| organizationId | 組織ID |
String |
Required Format : Protect Pattern : ^(?!.*(\?|\$|#|&|,|=)).*$ |
| partitionNo | パーティション番号 |
Integer, Null |
Format : Protect |
| placeOfOriginCode | 原産地コード |
String, Null |
None. |
| productName | 品名 |
String, Null |
None. |
| quantity | 個数 |
Number, Null |
Format : Number(8,0) Minimum : 0 |
| quantityUnitCode | 個数単位コード |
String, Null |
None. |
| representativeCommodities |
Collection, Null of representativeCommodities |
Format : Reference("/API/v1/Root/RepresentativeCommodities/OData?$select=marksAndNumbers,representativeCommodityId,dealNo,sortNo,partitionNo&$filter=dealNo+eq+{value}&$orderby=sortNo",marksAndNumbers,representativeCommodityId,dealNo,sortNo,partitionNo);Protect |
|
| representativeItemNo | 代表品目番号 |
String, Null |
None. |
| shipCode | 船舶コード |
String, Null |
None. |
| shipperAddress1 | 荷送人住所1/4(Street and number/P.O.Box) |
String, Null |
None. |
| shipperAddress2 | 荷送人住所2/4(Street and number/P.O.Box) |
String, Null |
None. |
| shipperAddress3 | 荷送人住所3/4(City name) |
String, Null |
None. |
| shipperAddress4 | 荷送人住所4/4(Country sub-entity, name) |
String, Null |
None. |
| shipperAddressAll | 荷送人住所(連続入力) |
String, Null |
None. |
| shipperCode | 荷送人コード |
String, Null |
None. |
| shipperCountryCodeCountryCoded | 荷送人国名コード(Country, coded) |
String, Null |
None. |
| shipperName | 荷送人名 |
String, Null |
None. |
| shipperPostalCodePostCodeId | 荷送人郵便番号(Postcode identification) |
String, Null |
None. |
| shipperTel | 荷送人電話番号 |
String, Null |
None. |
| shippingPortCode | 船積港コード |
String, Null |
None. |
| shipWholesalePortCode | 船卸港コード |
String, Null |
None. |
| symbolNo | 記号番号 |
String, Null |
None. |
| temporaryLandingId | 仮陸揚識別 |
String, Null |
None. |
| temporaryLandingPeriod | 仮陸揚期間 |
Number, Null |
Format : Number(2,0) Minimum : 0 |
| temporaryLandingReasonCode | 仮陸揚事由コード |
String, Null |
None. |
| volume | 容積 |
Number, Null |
Format : Number(9,3) Minimum : 0 |
| volumeUnitCode | 容積単位コード |
String, Null |
None. |
| weight | 重量 |
Number, Null |
Format : Number(9,3) Minimum : 0 |
| weightUnitCode | 重量単位コード |
String, Null |
None. |