POST /API/v1/NaccsReport/DangerousGoodsCargoLists/Register

帳票:DLRを保存します。 ## 概要 帳票を保存するには、その帳票を格納する取引を作成、または参加している組織(と事業種別)に所属するユーザであり、かつ、その帳票に対してWrite権限が必要です。 また、取引内の帳票はルートドキュメントにより、他の帳票と項目を共有しているので、事業者の更新が上書きされないよう帳票毎にバージョン識別子(***_etag***)がつけられています。 このバージョン識別子(***_etag***)は、帳票の保存(Register)が行われると、違う値に更新されます。帳票の保存(Register)のときに、このバージョン識別子(***_etag***)が異なると、排他エラー(***409:Conflict***)が発生します。 Registerメソッドで指定するJSONデータは、GetもしくはCreateでのレスポンスデータを編集し、指定するようにしてください。

Request Information

URI Parameters

None.

Body Parameters

DangerousGoodsCargoLists

DangerousGoodsCargoLists

NameDescriptionTypeAdditional information
_etag

etag

String

Required

businessTypeId

事業種別ID

String

Required

Format : Protect

Pattern : ^(?!.*(\?|\$|#|&|,|=)).*$

containers

Collection, Null of containers

Format : Reference("/API/v1/Root/Containers/OData?$select=containerNo,containerId,dealNo,partitionNo&$filter=dealNo+eq+{value}&$orderby=containerNo",containerNo,containerId,dealNo,partitionNo);Protect

customId

カスタムID

String, Null

Format : Protect

cyCode

CYコード

String, Null

None.

cyCutDate

CY CUT日

String, Null

None.

dangerousGoodsCargoes

Collection, Null of dangerousGoodsCargoes

None.

dealReportId

取引・帳票ID

String

Required

offloadingPortCode

積出港コード

String, Null

None.

operatingShippingCompanyCode

運航船会社コード

String, Null

None.

operatingShippingCompanyVoyageNo

運航船会社航海番号

String, Null

None.

organizationId

組織ID

String

Required

Format : Protect

Pattern : ^(?!.*(\?|\$|#|&|,|=)).*$

partitionNo

パーティション番号

Integer, Null

Format : Protect

shipCaptainName

船長名

String, Null

None.

shipCodetobeLoaded

積載予定船舶コード

String, Null

None.

shipNationalityCode

船舶国籍コード

String, Null

None.

shippingEstimatedDate

船積予定年月日

String, Null

None.

shipRegistrationIdNo

船舶登録番号

String, Null

None.

shipTypeCode

船舶種類コード

String, Null

None.

shipTypeName

船舶種類名

String, Null

None.

Response Information

Resource Description

None.