GET /serviceFailures/new
Creates a RowServiceFail object. This doesn't create a record in the database.
Instead, callers of this method can edit the returned object and then
pass it back to the create method to actually insert the record in the database.
Roles that can access this endpoint are Users.
Parameters
name |
description |
type |
default |
type |
stopId |
the ID of the stop that is used to fill the default values (optional) |
query
|
|
String
|
Result
RowServiceFail
of type:
application/xml
application/json
a RowServiceFail record with all appropriate defaults set
Additional attributes:
__ediStandardCodeDescr
This value represents the description of the delay code, found in the servicefail.edi_standard_code
field.
Child Elements:
RowUsers
This element represents the dispatcher user associated with the service failure, by the servicefail.dispatcher_user_id
field.
The element contains a __name
attribute with the value dispatcherUser
.
RowUsers
This element represents the operations user associated with the service failure, by the servicefail.operations_user
field.
The element contains a __name
attribute with the value operationsUser
.
RowUsers
This element represents the driver manager user associated with the service failure, by the servicefail.fleet_manager
field.
The element contains a __name
attribute with the value fleetManagerUser
.
RowUsers
This element represents the caused by user associated with the service failure, by the servicefail.user_id
field.
The element contains a __name
attribute with the value causedByUser
.
RowUsers
This element represents the reviewed by user associated with the service failure, by the servicefail.reviewed_by
field.
The element contains a __name
attribute with the value reviewedByUser
.
RowDriver
This element represents the driver user associated with the service failure, by the servicefail.driver_id
field.
The element contains a __name
attribute with the value driver
.
RowPayee
This element represents the carrier user associated with the service failure, by the servicefail.override_payee_id
field.
The element contains a __name
attribute with the value carrier
.
RowCustomer
This element represents the customer associated with the service failure, by the servicefail.customer_id
field.
The element contains a __name
attribute with the value customer
.
RowLocation
This element represents the location of the terminal associated with the service failure, by the servicefail.terminal_id
field.
The element contains a __name
attribute with the value terminalLocation
.
Try It Out
Request