GET api/ERP/Jobs/GetEqCrewList?eqID={eqID}

Get job crew list

Request Information

URI Parameters

NameDescriptionTypeAdditional information
eqID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Job crew list

Collection of CrewType
NameDescriptionTypeAdditional information
CrewID

integer

None.

JobID

integer

None.

RoleID

integer

None.

RoleName

string

None.

CrewMemberName

string

None.

IsBillable

boolean

None.

Email

string

None.

EmpID

integer

None.

AllowNotification

boolean

None.

Booked

integer

None.

IsAcceptedByCrew

boolean

None.

IsCrewNotified

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CrewID": 1,
    "JobID": 1,
    "RoleID": 1,
    "RoleName": "sample string 1",
    "CrewMemberName": "sample string 2",
    "IsBillable": true,
    "Email": "sample string 3",
    "EmpID": 1,
    "AllowNotification": true,
    "Booked": 1,
    "IsAcceptedByCrew": true,
    "IsCrewNotified": true
  },
  {
    "CrewID": 1,
    "JobID": 1,
    "RoleID": 1,
    "RoleName": "sample string 1",
    "CrewMemberName": "sample string 2",
    "IsBillable": true,
    "Email": "sample string 3",
    "EmpID": 1,
    "AllowNotification": true,
    "Booked": 1,
    "IsAcceptedByCrew": true,
    "IsCrewNotified": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfCrewType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects.ERP">
  <CrewType>
    <AllowNotification>true</AllowNotification>
    <Booked>1</Booked>
    <CrewID>1</CrewID>
    <CrewMemberName>sample string 2</CrewMemberName>
    <Email>sample string 3</Email>
    <EmpID>1</EmpID>
    <IsAcceptedByCrew>true</IsAcceptedByCrew>
    <IsBillable>true</IsBillable>
    <IsCrewNotified>true</IsCrewNotified>
    <JobID>1</JobID>
    <RoleID>1</RoleID>
    <RoleName>sample string 1</RoleName>
  </CrewType>
  <CrewType>
    <AllowNotification>true</AllowNotification>
    <Booked>1</Booked>
    <CrewID>1</CrewID>
    <CrewMemberName>sample string 2</CrewMemberName>
    <Email>sample string 3</Email>
    <EmpID>1</EmpID>
    <IsAcceptedByCrew>true</IsAcceptedByCrew>
    <IsBillable>true</IsBillable>
    <IsCrewNotified>true</IsCrewNotified>
    <JobID>1</JobID>
    <RoleID>1</RoleID>
    <RoleName>sample string 1</RoleName>
  </CrewType>
</ArrayOfCrewType>