GET api/Assignment?accountId={accountId}&sorted={sorted}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId | integer |
Required |
|
sorted | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AssignmentListName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
AccountId | integer |
None. |
|
IsAssignmentForOperator | boolean |
None. |
|
Evaluators | Collection of EvaluatorInfo |
None. |
|
Operators | Collection of OperatorInfo |
None. |
|
SelectedOperators | Collection of OperatorInfo |
None. |
|
Managers | Collection of ManagerInfo |
None. |
|
LocationNodes | Collection of LocationNodeInfo |
None. |
|
LocationTypes | Collection of LocationTypeInfo |
None. |
|
InspectionTemplates | Collection of EvaluationInfo |
None. |
|
AssignmentsQuotaDetails | QuotaAssignmentInfo |
None. |
|
Id | integer |
None. |
|
Status | string |
None. |
|
CreatedBy | string |
None. |
|
CreateTimestamp | date |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedTimestamp | date |
None. |
|
DataStateFlag | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "AccountId": 2, "IsAssignmentForOperator": true, "Evaluators": [ { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" } ], "Operators": [ { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" } ], "SelectedOperators": [ { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" } ], "Managers": [ { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" } ], "LocationNodes": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "LocationTypes": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "InspectionTemplates": [ { "Id": 1, "Title": "sample string 2" }, { "Id": 1, "Title": "sample string 2" } ], "AssignmentsQuotaDetails": { "Id": 1, "InspectionQuotaCount": 2, "QuotaPeriodTypeId": 3, "QuotaPeriodType": "sample string 4", "StartQuotaPeriod": "sample string 5", "EndQuotaPeriod": "sample string 6", "SkipQuotaPeriod": "sample string 7", "IncludeQuotaPeriod": "sample string 8", "StartDate": "2024-11-21T08:33:27.6794112+00:00", "StartDateDisplay": "sample string 9", "AssignmentQuotaPattern": "sample string 10", "Status": "sample string 11" }, "Id": 4, "Status": "sample string 5", "CreatedBy": "sample string 6", "CreateTimestamp": "2024-11-21T08:33:27.6794112+00:00", "ModifiedBy": "sample string 8", "ModifiedTimestamp": "2024-11-21T08:33:27.6794112+00:00", "DataStateFlag": "sample string 9" }, { "Name": "sample string 1", "AccountId": 2, "IsAssignmentForOperator": true, "Evaluators": [ { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" } ], "Operators": [ { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" } ], "SelectedOperators": [ { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" } ], "Managers": [ { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "UserId": "sample string 3" } ], "LocationNodes": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "LocationTypes": [ { "Id": 1, "Name": "sample string 2" }, { "Id": 1, "Name": "sample string 2" } ], "InspectionTemplates": [ { "Id": 1, "Title": "sample string 2" }, { "Id": 1, "Title": "sample string 2" } ], "AssignmentsQuotaDetails": { "Id": 1, "InspectionQuotaCount": 2, "QuotaPeriodTypeId": 3, "QuotaPeriodType": "sample string 4", "StartQuotaPeriod": "sample string 5", "EndQuotaPeriod": "sample string 6", "SkipQuotaPeriod": "sample string 7", "IncludeQuotaPeriod": "sample string 8", "StartDate": "2024-11-21T08:33:27.6794112+00:00", "StartDateDisplay": "sample string 9", "AssignmentQuotaPattern": "sample string 10", "Status": "sample string 11" }, "Id": 4, "Status": "sample string 5", "CreatedBy": "sample string 6", "CreateTimestamp": "2024-11-21T08:33:27.6794112+00:00", "ModifiedBy": "sample string 8", "ModifiedTimestamp": "2024-11-21T08:33:27.6794112+00:00", "DataStateFlag": "sample string 9" } ]
application/xml, text/xml
Sample:
<ArrayOfAssignmentList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.Assignment"> <AssignmentList> <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities"> <d3p1:DateTime>2024-11-21T08:33:27.6794112Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </CreateTimestamp> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 6</CreatedBy> <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 9</DataStateFlag> <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">4</Id> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 8</ModifiedBy> <ModifiedTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities"> <d3p1:DateTime>2024-11-21T08:33:27.6794112Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </ModifiedTimestamp> <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 5</Status> <AccountId>2</AccountId> <AssignmentsQuotaDetails> <AssignmentQuotaPattern>sample string 10</AssignmentQuotaPattern> <EndQuotaPeriod>sample string 6</EndQuotaPeriod> <Id>1</Id> <IncludeQuotaPeriod>sample string 8</IncludeQuotaPeriod> <InspectionQuotaCount>2</InspectionQuotaCount> <QuotaPeriodType>sample string 4</QuotaPeriodType> <QuotaPeriodTypeId>3</QuotaPeriodTypeId> <SkipQuotaPeriod>sample string 7</SkipQuotaPeriod> <StartDate>2024-11-21T08:33:27.6794112+00:00</StartDate> <StartDateDisplay>sample string 9</StartDateDisplay> <StartQuotaPeriod>sample string 5</StartQuotaPeriod> <Status>sample string 11</Status> </AssignmentsQuotaDetails> <Evaluators> <AssignmentList.EvaluatorInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.EvaluatorInfo> <AssignmentList.EvaluatorInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.EvaluatorInfo> </Evaluators> <InspectionTemplates> <AssignmentList.EvaluationInfo> <Id>1</Id> <Title>sample string 2</Title> </AssignmentList.EvaluationInfo> <AssignmentList.EvaluationInfo> <Id>1</Id> <Title>sample string 2</Title> </AssignmentList.EvaluationInfo> </InspectionTemplates> <IsAssignmentForOperator>true</IsAssignmentForOperator> <LocationNodes> <AssignmentList.LocationNodeInfo> <Id>1</Id> <Name>sample string 2</Name> </AssignmentList.LocationNodeInfo> <AssignmentList.LocationNodeInfo> <Id>1</Id> <Name>sample string 2</Name> </AssignmentList.LocationNodeInfo> </LocationNodes> <LocationTypes> <AssignmentList.LocationTypeInfo> <Id>1</Id> <Name>sample string 2</Name> </AssignmentList.LocationTypeInfo> <AssignmentList.LocationTypeInfo> <Id>1</Id> <Name>sample string 2</Name> </AssignmentList.LocationTypeInfo> </LocationTypes> <Managers> <AssignmentList.ManagerInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.ManagerInfo> <AssignmentList.ManagerInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.ManagerInfo> </Managers> <Name>sample string 1</Name> <Operators> <AssignmentList.OperatorInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.OperatorInfo> <AssignmentList.OperatorInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.OperatorInfo> </Operators> <SelectedOperators> <AssignmentList.OperatorInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.OperatorInfo> <AssignmentList.OperatorInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.OperatorInfo> </SelectedOperators> </AssignmentList> <AssignmentList> <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities"> <d3p1:DateTime>2024-11-21T08:33:27.6794112Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </CreateTimestamp> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 6</CreatedBy> <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 9</DataStateFlag> <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">4</Id> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 8</ModifiedBy> <ModifiedTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities"> <d3p1:DateTime>2024-11-21T08:33:27.6794112Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </ModifiedTimestamp> <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 5</Status> <AccountId>2</AccountId> <AssignmentsQuotaDetails> <AssignmentQuotaPattern>sample string 10</AssignmentQuotaPattern> <EndQuotaPeriod>sample string 6</EndQuotaPeriod> <Id>1</Id> <IncludeQuotaPeriod>sample string 8</IncludeQuotaPeriod> <InspectionQuotaCount>2</InspectionQuotaCount> <QuotaPeriodType>sample string 4</QuotaPeriodType> <QuotaPeriodTypeId>3</QuotaPeriodTypeId> <SkipQuotaPeriod>sample string 7</SkipQuotaPeriod> <StartDate>2024-11-21T08:33:27.6794112+00:00</StartDate> <StartDateDisplay>sample string 9</StartDateDisplay> <StartQuotaPeriod>sample string 5</StartQuotaPeriod> <Status>sample string 11</Status> </AssignmentsQuotaDetails> <Evaluators> <AssignmentList.EvaluatorInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.EvaluatorInfo> <AssignmentList.EvaluatorInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.EvaluatorInfo> </Evaluators> <InspectionTemplates> <AssignmentList.EvaluationInfo> <Id>1</Id> <Title>sample string 2</Title> </AssignmentList.EvaluationInfo> <AssignmentList.EvaluationInfo> <Id>1</Id> <Title>sample string 2</Title> </AssignmentList.EvaluationInfo> </InspectionTemplates> <IsAssignmentForOperator>true</IsAssignmentForOperator> <LocationNodes> <AssignmentList.LocationNodeInfo> <Id>1</Id> <Name>sample string 2</Name> </AssignmentList.LocationNodeInfo> <AssignmentList.LocationNodeInfo> <Id>1</Id> <Name>sample string 2</Name> </AssignmentList.LocationNodeInfo> </LocationNodes> <LocationTypes> <AssignmentList.LocationTypeInfo> <Id>1</Id> <Name>sample string 2</Name> </AssignmentList.LocationTypeInfo> <AssignmentList.LocationTypeInfo> <Id>1</Id> <Name>sample string 2</Name> </AssignmentList.LocationTypeInfo> </LocationTypes> <Managers> <AssignmentList.ManagerInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.ManagerInfo> <AssignmentList.ManagerInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.ManagerInfo> </Managers> <Name>sample string 1</Name> <Operators> <AssignmentList.OperatorInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.OperatorInfo> <AssignmentList.OperatorInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.OperatorInfo> </Operators> <SelectedOperators> <AssignmentList.OperatorInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.OperatorInfo> <AssignmentList.OperatorInfo> <Id>1</Id> <Name>sample string 2</Name> <UserId>sample string 3</UserId> </AssignmentList.OperatorInfo> </SelectedOperators> </AssignmentList> </ArrayOfAssignmentList>