POST /API/v1/NaccsReport/ExportCargoRegistrations/Register
帳票:ECRを保存します。 ## 概要 帳票を保存するには、その帳票を格納する取引を作成、または参加している組織(と事業種別)に所属するユーザであり、かつ、その帳票に対してWrite権限が必要です。 また、取引内の帳票はルートドキュメントにより、他の帳票と項目を共有しているので、事業者の更新が上書きされないよう帳票毎にバージョン識別子(***_etag***)がつけられています。 このバージョン識別子(***_etag***)は、帳票の保存(Register)が行われると、違う値に更新されます。帳票の保存(Register)のときに、このバージョン識別子(***_etag***)が異なると、排他エラー(***409:Conflict***)が発生します。 Registerメソッドで指定するJSONデータは、GetもしくはCreateでのレスポンスデータを編集し、指定するようにしてください。
Request Information
URI Parameters
None.
Body Parameters
ExportCargoRegistrations
| Name | Description | Type | Additional information |
|---|---|---|---|
| _etag | etag |
String |
Required |
| arrivalDate | 入港年月日 |
String, Null |
None. |
| article | 記事 |
String, Null |
None. |
| bookingNo | ブッキング番号 |
String, Null |
None. |
| businessTypeId | 事業種別ID |
String |
Required Format : Protect Pattern : ^(?!.*(\?|\$|#|&|,|=)).*$ |
| cargoId | 貨物識別 |
String, Null |
None. |
| customId | カスタムID |
String, Null |
Format : Protect |
| dangerousGoodsCargoCode | 危険貨物等コード |
String, Null |
None. |
| dealInformation |
Required |
||
| dealReportId | 取引・帳票ID |
String |
Required |
| declarationPersonnelCode | 申告予定者コード |
String, Null |
None. |
| deliveryTypeCode | 荷渡形態コード |
String, Null |
None. |
| domesticReferenceNo | 社内整理番号 |
String, Null |
None. |
| estimatedDepartureDate | 出港予定年月日 |
String, Null |
None. |
| exportControlNo | 輸出管理番号 |
String, Null |
None. |
| exporterCode | 輸出者コード |
String, Null |
None. |
| exporterName | 輸出者名 |
String, Null |
None. |
| finalDestinationCode | 最終仕向地コード |
String, Null |
None. |
| invoice |
Required |
||
| nSiNo | N-S/I番号 |
String, Null |
None. |
| offloadingPortCode | 積出港コード |
String, Null |
None. |
| organizationId | 組織ID |
String |
Required Format : Protect Pattern : ^(?!.*(\?|\$|#|&|,|=)).*$ |
| partitionNo | パーティション番号 |
Integer, Null |
Format : Protect |
| processClassificationCode | 処理区分コード |
String, Null |
None. |
| productName | 品名 |
String, Null |
None. |
| quantityGrandTotal | 総個数 |
Number, Null |
Format : Number(8,0) Minimum : 0 |
| quantityUnitCode | 個数単位コード |
String, Null |
None. |
| receiptTypeCode | 荷受形態コード |
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 |
|
| scheduledDeliveries |
Collection, Null of scheduledDeliveries |
None. |
|
| shipCodetobeLoaded | 積載予定船舶コード |
String, Null |
None. |
| shipNametobeLoaded | 積載予定船舶名 |
String, Null |
None. |
| shipperReferenceNo | 荷主リファレンスナンバー |
String, Null |
None. |
| shipperSectionCode | 荷主セクションコード |
String, Null |
None. |
| shippingCompanyCode | 船会社コード |
String, Null |
None. |
| shipWholesalePortCode | 船卸港コード |
String, Null |
None. |
| volumeGrandTotal | 総容積 |
Number, Null |
Format : Number(9,3) Maximum : 999999.999 Minimum : 0 |
| volumeUnitCode | 容積単位コード |
String, Null |
None. |
| voyageNo | 航海番号 |
String, Null |
None. |
| weightGrandTotal | 総重量 |
Number, Null |
Format : Number(9,3) Maximum : 999999.999 Minimum : 0 |
| weightUnitCode | 重量単位コード |
String, Null |
None. |
Response Information
Resource Description
None.