GET api/OpsManagerAssessmentAllocation/GetAllocationsByUser?userId={userId}&start={start}&end={end}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | integer |
Required |
|
start | date |
Required |
|
end | date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of OpsManagerAssessmentAllocationDTOName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
CustomerID | integer |
None. |
|
CustomerVenueID | integer |
None. |
|
SystemUserID | integer |
None. |
|
AllocatedDate | date |
None. |
|
CheckedIn | boolean |
None. |
|
CheckedOut | boolean |
None. |
|
Customer | CustomerDTO |
None. |
|
CustomerVenue | CustomerVenueDTO |
None. |
|
SystemUser | SystemUserDTO |
None. |
|
Complete | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Complete": true, "ID": 1, "CustomerID": 2, "CustomerVenueID": 3, "SystemUserID": 4, "AllocatedDate": "2024-12-28T08:47:58.5880924+02:00", "CheckedIn": true, "CheckedOut": true, "Customer": { "ID": 1, "RegionID": 2, "Name": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "ContactTel": "sample string 6", "EmailAddress": "sample string 7", "AddressLine1": "sample string 8", "AddressLine2": "sample string 9", "Suburb": "sample string 10", "Province": "sample string 11", "Username": "sample string 12", "Password": "sample string 13", "InActive": true, "IsDeleted": true, "RegionName": "sample string 16" }, "CustomerVenue": { "ID": 1, "CustomerID": 2, "RegionID": 3, "Name": "sample string 4", "PostalCode": "sample string 5", "ContactTel": "sample string 6", "EmailAddress": "sample string 7", "AddressLine1": "sample string 8", "AddressLine2": "sample string 9", "Suburb": "sample string 10", "Province": "sample string 11", "Latitude": "sample string 12", "Longitude": "sample string 13", "IsDeleted": true, "RegionName": "sample string 15", "CheckedIn": true }, "SystemUser": { "ID": 1, "UserRoleID": 2, "RegionID": 3, "RoleName": "sample string 4", "UID": "779833b9-1c07-43f6-bc80-e89cb045342e", "AccountID": 6, "Title": "sample string 7", "CompanyPosition": "sample string 8", "FirstName": "sample string 9", "LastName": "sample string 10", "ContactTel": "sample string 11", "ContactEmail": "sample string 12", "AddressLine1": "sample string 13", "AddressLine2": "sample string 14", "Suburb": "sample string 15", "Province": "sample string 16", "Username": "sample string 17", "Password": "sample string 18", "LanguageCode": "sample string 19", "EmailConfirmed": true, "EmailConfirmedDateTime": "2024-12-28T08:47:58.5880924+02:00", "InActive": true, "IsDeleted": true, "ResetPasswordCode": true, "RegionName": "sample string 24", "FullName": "sample string 25", "SystemUserID": 26, "SystemUserFullName": "sample string 27" } }, { "Complete": true, "ID": 1, "CustomerID": 2, "CustomerVenueID": 3, "SystemUserID": 4, "AllocatedDate": "2024-12-28T08:47:58.5880924+02:00", "CheckedIn": true, "CheckedOut": true, "Customer": { "ID": 1, "RegionID": 2, "Name": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "ContactTel": "sample string 6", "EmailAddress": "sample string 7", "AddressLine1": "sample string 8", "AddressLine2": "sample string 9", "Suburb": "sample string 10", "Province": "sample string 11", "Username": "sample string 12", "Password": "sample string 13", "InActive": true, "IsDeleted": true, "RegionName": "sample string 16" }, "CustomerVenue": { "ID": 1, "CustomerID": 2, "RegionID": 3, "Name": "sample string 4", "PostalCode": "sample string 5", "ContactTel": "sample string 6", "EmailAddress": "sample string 7", "AddressLine1": "sample string 8", "AddressLine2": "sample string 9", "Suburb": "sample string 10", "Province": "sample string 11", "Latitude": "sample string 12", "Longitude": "sample string 13", "IsDeleted": true, "RegionName": "sample string 15", "CheckedIn": true }, "SystemUser": { "ID": 1, "UserRoleID": 2, "RegionID": 3, "RoleName": "sample string 4", "UID": "779833b9-1c07-43f6-bc80-e89cb045342e", "AccountID": 6, "Title": "sample string 7", "CompanyPosition": "sample string 8", "FirstName": "sample string 9", "LastName": "sample string 10", "ContactTel": "sample string 11", "ContactEmail": "sample string 12", "AddressLine1": "sample string 13", "AddressLine2": "sample string 14", "Suburb": "sample string 15", "Province": "sample string 16", "Username": "sample string 17", "Password": "sample string 18", "LanguageCode": "sample string 19", "EmailConfirmed": true, "EmailConfirmedDateTime": "2024-12-28T08:47:58.5880924+02:00", "InActive": true, "IsDeleted": true, "ResetPasswordCode": true, "RegionName": "sample string 24", "FullName": "sample string 25", "SystemUserID": 26, "SystemUserFullName": "sample string 27" } } ]
application/xml, text/xml
Sample:
<ArrayOfOpsManagerAssessmentAllocationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <OpsManagerAssessmentAllocationDTO> <AllocatedDate>2024-12-28T08:47:58.5880924+02:00</AllocatedDate> <CheckedIn>true</CheckedIn> <CheckedOut>true</CheckedOut> <Complete>true</Complete> <Customer> <AddressLine1>sample string 8</AddressLine1> <AddressLine2>sample string 9</AddressLine2> <ContactTel>sample string 6</ContactTel> <EmailAddress>sample string 7</EmailAddress> <FirstName>sample string 4</FirstName> <ID>1</ID> <InActive>true</InActive> <IsDeleted>true</IsDeleted> <LastName>sample string 5</LastName> <Name>sample string 3</Name> <Password>sample string 13</Password> <Province>sample string 11</Province> <RegionID>2</RegionID> <RegionName>sample string 16</RegionName> <Suburb>sample string 10</Suburb> <Username>sample string 12</Username> </Customer> <CustomerID>2</CustomerID> <CustomerVenue> <AddressLine1>sample string 8</AddressLine1> <AddressLine2>sample string 9</AddressLine2> <CheckedIn>true</CheckedIn> <ContactTel>sample string 6</ContactTel> <CustomerID>2</CustomerID> <EmailAddress>sample string 7</EmailAddress> <ID>1</ID> <IsDeleted>true</IsDeleted> <Latitude>sample string 12</Latitude> <Longitude>sample string 13</Longitude> <Name>sample string 4</Name> <PostalCode>sample string 5</PostalCode> <Province>sample string 11</Province> <RegionID>3</RegionID> <RegionName>sample string 15</RegionName> <Suburb>sample string 10</Suburb> </CustomerVenue> <CustomerVenueID>3</CustomerVenueID> <ID>1</ID> <SystemUser> <AccountID>6</AccountID> <AddressLine1>sample string 13</AddressLine1> <AddressLine2>sample string 14</AddressLine2> <CompanyPosition>sample string 8</CompanyPosition> <ContactEmail>sample string 12</ContactEmail> <ContactTel>sample string 11</ContactTel> <EmailConfirmed>true</EmailConfirmed> <EmailConfirmedDateTime>2024-12-28T08:47:58.5880924+02:00</EmailConfirmedDateTime> <FirstName>sample string 9</FirstName> <FullName>sample string 25</FullName> <ID>1</ID> <InActive>true</InActive> <IsDeleted>true</IsDeleted> <LanguageCode>sample string 19</LanguageCode> <LastName>sample string 10</LastName> <Password>sample string 18</Password> <Province>sample string 16</Province> <RegionID>3</RegionID> <RegionName>sample string 24</RegionName> <ResetPasswordCode>true</ResetPasswordCode> <RoleName>sample string 4</RoleName> <Suburb>sample string 15</Suburb> <SystemUserFullName>sample string 27</SystemUserFullName> <SystemUserID>26</SystemUserID> <Title>sample string 7</Title> <UID>779833b9-1c07-43f6-bc80-e89cb045342e</UID> <UserRoleID>2</UserRoleID> <Username>sample string 17</Username> </SystemUser> <SystemUserID>4</SystemUserID> </OpsManagerAssessmentAllocationDTO> <OpsManagerAssessmentAllocationDTO> <AllocatedDate>2024-12-28T08:47:58.5880924+02:00</AllocatedDate> <CheckedIn>true</CheckedIn> <CheckedOut>true</CheckedOut> <Complete>true</Complete> <Customer> <AddressLine1>sample string 8</AddressLine1> <AddressLine2>sample string 9</AddressLine2> <ContactTel>sample string 6</ContactTel> <EmailAddress>sample string 7</EmailAddress> <FirstName>sample string 4</FirstName> <ID>1</ID> <InActive>true</InActive> <IsDeleted>true</IsDeleted> <LastName>sample string 5</LastName> <Name>sample string 3</Name> <Password>sample string 13</Password> <Province>sample string 11</Province> <RegionID>2</RegionID> <RegionName>sample string 16</RegionName> <Suburb>sample string 10</Suburb> <Username>sample string 12</Username> </Customer> <CustomerID>2</CustomerID> <CustomerVenue> <AddressLine1>sample string 8</AddressLine1> <AddressLine2>sample string 9</AddressLine2> <CheckedIn>true</CheckedIn> <ContactTel>sample string 6</ContactTel> <CustomerID>2</CustomerID> <EmailAddress>sample string 7</EmailAddress> <ID>1</ID> <IsDeleted>true</IsDeleted> <Latitude>sample string 12</Latitude> <Longitude>sample string 13</Longitude> <Name>sample string 4</Name> <PostalCode>sample string 5</PostalCode> <Province>sample string 11</Province> <RegionID>3</RegionID> <RegionName>sample string 15</RegionName> <Suburb>sample string 10</Suburb> </CustomerVenue> <CustomerVenueID>3</CustomerVenueID> <ID>1</ID> <SystemUser> <AccountID>6</AccountID> <AddressLine1>sample string 13</AddressLine1> <AddressLine2>sample string 14</AddressLine2> <CompanyPosition>sample string 8</CompanyPosition> <ContactEmail>sample string 12</ContactEmail> <ContactTel>sample string 11</ContactTel> <EmailConfirmed>true</EmailConfirmed> <EmailConfirmedDateTime>2024-12-28T08:47:58.5880924+02:00</EmailConfirmedDateTime> <FirstName>sample string 9</FirstName> <FullName>sample string 25</FullName> <ID>1</ID> <InActive>true</InActive> <IsDeleted>true</IsDeleted> <LanguageCode>sample string 19</LanguageCode> <LastName>sample string 10</LastName> <Password>sample string 18</Password> <Province>sample string 16</Province> <RegionID>3</RegionID> <RegionName>sample string 24</RegionName> <ResetPasswordCode>true</ResetPasswordCode> <RoleName>sample string 4</RoleName> <Suburb>sample string 15</Suburb> <SystemUserFullName>sample string 27</SystemUserFullName> <SystemUserID>26</SystemUserID> <Title>sample string 7</Title> <UID>779833b9-1c07-43f6-bc80-e89cb045342e</UID> <UserRoleID>2</UserRoleID> <Username>sample string 17</Username> </SystemUser> <SystemUserID>4</SystemUserID> </OpsManagerAssessmentAllocationDTO> </ArrayOfOpsManagerAssessmentAllocationDTO>