POST /API/v1/Report/ImportInstructions/CreateByBlNo
B/L番号を指定して、帳票:輸入指図書を作成します。 ## 概要 ユーザが所属している組織(と事業種別)が作成、または参加している取引の中から、指定されたB/L番号(***blNo***)に該当する取引に対して、帳票:輸入指図書を作成します。 帳票を作成する条件は、Createメソッドと同じく、その帳票を格納する取引を作成、または参加している組織(と事業種別)に所属するユーザであり、かつ、その帳票に対してWrite権限が必要です。 ただし、指定されたB/L番号(***blNo***)に該当する取引が存在しない、または複数存在する場合はエラーとなります。 帳票:輸入指図書が取引内にすでに存在する場合は、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
ImportInstructions
| Name | Description | Type | Additional information |
|---|---|---|---|
| _etag | etag |
String |
Required |
| attachedSheet | 添付書類 |
String, Null |
None. |
| bankAccountNoFareTransferDestination | 運賃振込先_口座番号 |
String, Null |
None. |
| businessTypeId | 事業種別ID |
String |
Required Format : Protect Pattern : ^(?!.*(\?|\$|#|&|,|=)).*$ |
| certificateOfOrigin | 原産地証明 |
String, Null |
None. |
| collateralNo | 担保番号 |
String, Null |
None. |
| contactInformationFax | 問い合わせ先_FAX番号 |
String, Null |
None. |
| contactInformationTel | 問い合わせ先_電話番号 |
String, Null |
None. |
| containers |
Collection, Null of containers |
Format : Reference("/API/v1/Root/Containers/OData?$select=containerId,dealNo,containerLengthCode,containerHeightCode,containerTypeCode,containerNo,sealNo,containerGrossWeight,containerGrossWeightUnitCode,demurrageFreeTime,containerPickUpDeadline,containerPickUpDeadlineTime,demurrageInformation,detentionFreeTime,containerReturnDeadline,containerReturnDeadlineTime,detentionInformation,partitionNo&$filter=dealNo+eq+{value}&$orderby=containerNo",containerId,dealNo,containerLengthCode,containerHeightCode,containerTypeCode,containerNo,sealNo,containerGrossWeight,containerGrossWeightUnitCode,demurrageFreeTime,containerPickUpDeadline,containerPickUpDeadlineTime,demurrageInformation,detentionFreeTime,containerReturnDeadline,containerReturnDeadlineTime,detentionInformation,partitionNo);Protect;Notify |
|
| customs | 税関 |
String, Null |
None. |
| customsDutyPaymentExtension | 納期限延長 |
String, Null |
None. |
| customsScreening | 税関審査 |
String, Null |
None. |
| dealInformation |
Required |
||
| dealReportId | 取引・帳票ID |
String |
Required |
| declarationDate | 申告月日 |
String, Null |
Format : date |
| declarationMethod | 申告方法 |
String, Null |
None. |
| declarationNo | 申告番号 |
String, Null |
None. |
| dutyFree | 免税有無 |
Boolean, Null |
None. |
| evaluation | 評価 |
String, Null |
None. |
| gsp | 特恵 |
Boolean, Null |
None. |
| handlingInformation | 荷捌形態 |
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. |
| operationArrangement | 作業形態 |
String, Null |
None. |
| organizationId | 組織ID |
String |
Required Format : Protect Pattern : ^(?!.*(\?|\$|#|&|,|=)).*$ |
| otherLawsAndRegulations | 他法令 |
String, Null |
Format : ForeignKey |
| partitionNo | パーティション番号 |
Integer, Null |
Format : Protect |
| paymentMethod | 納付方法 |
String, Null |
None. |
| refNo | 参照番号 |
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;Notify |