POST api/Seabulk/ContainerInspection/CompleteContainerInspection
Complete the ContainerInspection
Request Information
URI Parameters
None.
Body Parameters
CompleteContainerInspectionRequest
CompleteContainerInspectionRequestName | Description | Type | Additional information |
---|---|---|---|
ContainerInspectionIdNo | integer |
None. |
|
IsPassed | boolean |
None. |
|
ContainerInspectionFlexQuestions | Collection of FlexQuestion |
None. |
|
CompanyCode | string |
None. |
|
PackoutIdNo | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContainerInspectionIdNo": 1, "IsPassed": true, "ContainerInspectionFlexQuestions": [ null, { "LocalizationLanguage": 1, "LocalizationLanguageDisplayName": "EN", "QuestionText": "sample string 1", "Response": "sample string 2", "IdNo": 3, "FlexQuestionType": null, "FlexQuestionTypeValue": null, "Position": 0, "ResponseType": null, "ResponseTypeValue": null, "ResponseLength": null, "ResponseUom": null, "IsActive": true, "LastModifiedBy": null, "ObjectKeyString": "3", "PrimaryKey": [ 3 ], "IsPrimaryKeyInitialized": true } ], "CompanyCode": "sample string 3", "PackoutIdNo": "sample string 4" }
text/html
Sample:
{"ContainerInspectionIdNo":1,"IsPassed":true,"ContainerInspectionFlexQuestions":[null,{"LocalizationLanguage":1,"LocalizationLanguageDisplayName":"EN","QuestionText":"sample string 1","Response":"sample string 2","IdNo":3,"FlexQuestionType":null,"FlexQuestionTypeValue":null,"Position":0,"ResponseType":null,"ResponseTypeValue":null,"ResponseLength":null,"ResponseUom":null,"IsActive":true,"LastModifiedBy":null,"ObjectKeyString":"3","PrimaryKey":[3],"IsPrimaryKeyInitialized":true}],"CompanyCode":"sample string 3","PackoutIdNo":"sample string 4"}
Response Information
Resource Description
GenericTransactionResponse
GenericTransactionResponseName | Description | Type | Additional information |
---|---|---|---|
ReturnedObject | Object |
None. |
|
IsSuccessful |
Indicates if the transaction was successful or not. |
boolean |
None. |
ReturnedMessages |
Contains a list of Informational, Warning, and/or Error messages regarding the outcome of the transaction. |
Collection of ReturnedMessage |
None. |
Response Formats
application/json, text/json
Sample:
{ "ReturnedObject": {}, "IsSuccessful": true, "ReturnedMessages": null }
text/html
Sample:
{"ReturnedObject":{},"IsSuccessful":true,"ReturnedMessages":null}