StatusType is used in several entities. Note that when setting StatusType it must be of the correct StatusClass or it will be denied. The correct StatusClass can be identified by the name of the property, i.e. Voyage has a voyageStatus property, which corresponds to the "Voyage status" StatusClass, and Cargo has a bookingStatus property, which corresponds to the "Booking status" StatusClass.
Properties
Property | Type | Length | Mandatory | Description | Comments |
---|---|---|---|---|---|
isFixed | Boolean | ||||
statusClass | /StatusClass | ||||
statusTypeCode | String | 5 | Yes | ||
statusTypeDesc | String | 20 | Yes | ||
statusTypeSequence | Integer | 22 |
Example response body
{ "key": 1000094, "self": "http://localhost:8080/ws/rest/StatusType/1000094", "createdDate": "2004-04-29 17:02:21", "modifiedDate": "2004-07-17 21:02:41", "isFixed": true, "statusTypeCode": "RFP", "statusTypeDesc": "Ready for posting", "statusTypeSequence": 25, "statusClass": { "key": 1000090, "self": "http://localhost:8080/ws/rest/StatusClass/1000090", "statusClassCode": "INV", "statusClassDesc": "Invoicing status" }, "remarks": [] }