POST /API/v1/NaccsReport/ExportCargoRegistrations/CreateByDomesticNo
社内管理番号を指定して、帳票:ECRを作成します。 ## 概要 ユーザが所属している組織(と事業種別)が作成、または参加している取引の中から、指定された社内管理番号(***domesticNo***)に該当する取引に対して、帳票:ECRを作成します。 帳票を作成する条件は、Createメソッドと同じく、その帳票を格納する取引を作成、または参加している組織(と事業種別)に所属するユーザであり、かつ、その帳票に対してWrite権限が必要です。 ただし、社内管理番号に該当する取引が存在しない、または複数存在する場合はエラーとなります。 カスタムID(***customId***)は作成数に制限がない帳票を特定できるように任意に設定できる項目です。 カスタムID(***customId***)に値が設定されていなくても帳票:ECRは作成可能です。同じカスタムID(***customId***)の帳票:ECRが取引内にすでに存在する場合は、Getメソッドと同じ動作となりステータスコード:200を返却します。
Request Information
URI Parameters
None.
Body Parameters
CreateNoLimitOnNumberReportByDomesticNoRequest
CreateNoLimitOnNumberReportByDomesticNoRequest
| Name | Description | Type | Additional information |
|---|---|---|---|
| businessTypeId | 事業種別ID |
String |
Required |
| customId | カスタムID |
String |
Required |
| domesticNo | 社内管理番号 |
String |
Required |
| organizationId | 組織ID |
String |
Required |
Response Information
Resource Description
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. |