GET api/Transport/assignment/{id}?employeeID={employeeID}

Validates that an Employee is assigned to a Transport Request. For use with IVR systems.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID value of the Transport

integer

Required

employeeID

The ID of the Employee

integer

Required

Body Parameters

None.

Response Information

Resource Description

A string. "valid" if all numbers match. "-1" if the request cannot be found. "-2" if the request is found but does not belong to the requested transporter.

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>