GET api/Assignment/InspectionCoverPage?accountId={accountId}&isAssignmentForOperator={isAssignmentForOperator}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

isAssignmentForOperator

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of AssignmentDetails
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

AccountId

integer

None.

IsAssignmentForOperator

boolean

None.

AllowAddAssignment

boolean

None.

AllowAddLocation

boolean

None.

Evaluators

Collection of integer

None.

Operators

Collection of integer

None.

Managers

Collection of integer

None.

LocationNodes

Collection of integer

None.

LocationNodeLevels

Collection of integer

None.

InspectionTemplates

Collection of integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "AccountId": 3,
    "IsAssignmentForOperator": true,
    "AllowAddAssignment": true,
    "AllowAddLocation": true,
    "Evaluators": [
      1,
      2
    ],
    "Operators": [
      1,
      2
    ],
    "Managers": [
      1,
      2
    ],
    "LocationNodes": [
      1,
      2
    ],
    "LocationNodeLevels": [
      1,
      2
    ],
    "InspectionTemplates": [
      1,
      2
    ]
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "AccountId": 3,
    "IsAssignmentForOperator": true,
    "AllowAddAssignment": true,
    "AllowAddLocation": true,
    "Evaluators": [
      1,
      2
    ],
    "Operators": [
      1,
      2
    ],
    "Managers": [
      1,
      2
    ],
    "LocationNodes": [
      1,
      2
    ],
    "LocationNodeLevels": [
      1,
      2
    ],
    "InspectionTemplates": [
      1,
      2
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfAssignmentList.AssignmentDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.Assignment">
  <AssignmentList.AssignmentDetails>
    <AccountId>3</AccountId>
    <AllowAddAssignment>true</AllowAddAssignment>
    <AllowAddLocation>true</AllowAddLocation>
    <Evaluators xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </Evaluators>
    <Id>1</Id>
    <InspectionTemplates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </InspectionTemplates>
    <IsAssignmentForOperator>true</IsAssignmentForOperator>
    <LocationNodeLevels xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:long>1</d3p1:long>
      <d3p1:long>2</d3p1:long>
    </LocationNodeLevels>
    <LocationNodes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:long>1</d3p1:long>
      <d3p1:long>2</d3p1:long>
    </LocationNodes>
    <Managers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </Managers>
    <Name>sample string 2</Name>
    <Operators xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </Operators>
  </AssignmentList.AssignmentDetails>
  <AssignmentList.AssignmentDetails>
    <AccountId>3</AccountId>
    <AllowAddAssignment>true</AllowAddAssignment>
    <AllowAddLocation>true</AllowAddLocation>
    <Evaluators xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </Evaluators>
    <Id>1</Id>
    <InspectionTemplates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </InspectionTemplates>
    <IsAssignmentForOperator>true</IsAssignmentForOperator>
    <LocationNodeLevels xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:long>1</d3p1:long>
      <d3p1:long>2</d3p1:long>
    </LocationNodeLevels>
    <LocationNodes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:long>1</d3p1:long>
      <d3p1:long>2</d3p1:long>
    </LocationNodes>
    <Managers xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </Managers>
    <Name>sample string 2</Name>
    <Operators xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </Operators>
  </AssignmentList.AssignmentDetails>
</ArrayOfAssignmentList.AssignmentDetails>