GET v1/dot/current/random?UserId={UserId}&OperatorId={OperatorId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserId

string

None.

OperatorId

string

None.

Body Parameters

None.

Response Information

Resource Description

ApiResponseNewOfDOTCurrentRandomResponseMainDto
NameDescriptionTypeAdditional information
status

integer

None.

message

string

None.

data

DOTCurrentRandomResponseMainDto

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "message": "sample string 2",
  "data": {
    "reports": [
      {
        "reportId": "e1b680b3-6867-4d25-a861-ddf8de6fc6a0",
        "reportPackage": "sample string 1",
        "operatorId": "aa60d646-d2d4-4185-847c-a44b43bf6958",
        "providerId": "da1a8c81-5f3b-42e0-bdda-068eb65ea20a",
        "scheduledDate": "sample string 3",
        "notificationDate": "sample string 4",
        "reportStatus": "sample string 5",
        "reportResult": "sample string 6",
        "attachment": "sample string 7",
        "donorPass": "sample string 8",
        "ccfAttachment": "sample string 9",
        "poctAttachment": "sample string 10",
        "phoneNotifiedTime": "sample string 11",
        "smsNotifiedTime": "sample string 12",
        "emailNotifiedTime": "sample string 13",
        "appNotifiedTime": "sample string 14",
        "phoneNotifiedTime_Ack": "sample string 15",
        "smsNotifiedTime_Ack": "sample string 16",
        "emailNotifiedTime_Ack": "sample string 17",
        "appNotifiedTime_Ack": "sample string 18",
        "checkInTime": "sample string 19",
        "checkOutTime": "sample string 20",
        "timeWindowInHour": "sample string 21",
        "locationUrl": "sample string 22",
        "isDrug": true,
        "isAlcohol": true
      },
      {
        "reportId": "e1b680b3-6867-4d25-a861-ddf8de6fc6a0",
        "reportPackage": "sample string 1",
        "operatorId": "aa60d646-d2d4-4185-847c-a44b43bf6958",
        "providerId": "da1a8c81-5f3b-42e0-bdda-068eb65ea20a",
        "scheduledDate": "sample string 3",
        "notificationDate": "sample string 4",
        "reportStatus": "sample string 5",
        "reportResult": "sample string 6",
        "attachment": "sample string 7",
        "donorPass": "sample string 8",
        "ccfAttachment": "sample string 9",
        "poctAttachment": "sample string 10",
        "phoneNotifiedTime": "sample string 11",
        "smsNotifiedTime": "sample string 12",
        "emailNotifiedTime": "sample string 13",
        "appNotifiedTime": "sample string 14",
        "phoneNotifiedTime_Ack": "sample string 15",
        "smsNotifiedTime_Ack": "sample string 16",
        "emailNotifiedTime_Ack": "sample string 17",
        "appNotifiedTime_Ack": "sample string 18",
        "checkInTime": "sample string 19",
        "checkOutTime": "sample string 20",
        "timeWindowInHour": "sample string 21",
        "locationUrl": "sample string 22",
        "isDrug": true,
        "isAlcohol": true
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ApiResponseNewOfDOTCurrentRandomResponseMainDtoX7UxrhxG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OrionDAL.ApiModels.Version1">
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/OrionDAL.ApiModels.Contracts.Version1">
    <d2p1:Reports>
      <d2p1:DOTCurrentRandomReponsesDto>
        <d2p1:AppNotifiedTime>sample string 14</d2p1:AppNotifiedTime>
        <d2p1:AppNotifiedTime_Ack>sample string 18</d2p1:AppNotifiedTime_Ack>
        <d2p1:Attachment>sample string 7</d2p1:Attachment>
        <d2p1:CCFAttachment>sample string 9</d2p1:CCFAttachment>
        <d2p1:CheckInTime>sample string 19</d2p1:CheckInTime>
        <d2p1:CheckOutTime>sample string 20</d2p1:CheckOutTime>
        <d2p1:DonorPass>sample string 8</d2p1:DonorPass>
        <d2p1:EmailNotifiedTime>sample string 13</d2p1:EmailNotifiedTime>
        <d2p1:EmailNotifiedTime_Ack>sample string 17</d2p1:EmailNotifiedTime_Ack>
        <d2p1:IsAlcohol>true</d2p1:IsAlcohol>
        <d2p1:IsDrug>true</d2p1:IsDrug>
        <d2p1:LocationUrl>sample string 22</d2p1:LocationUrl>
        <d2p1:NotificationDate>sample string 4</d2p1:NotificationDate>
        <d2p1:OperatorId>aa60d646-d2d4-4185-847c-a44b43bf6958</d2p1:OperatorId>
        <d2p1:POCTAttachment>sample string 10</d2p1:POCTAttachment>
        <d2p1:PhoneNotifiedTime>sample string 11</d2p1:PhoneNotifiedTime>
        <d2p1:PhoneNotifiedTime_Ack>sample string 15</d2p1:PhoneNotifiedTime_Ack>
        <d2p1:ProviderId>da1a8c81-5f3b-42e0-bdda-068eb65ea20a</d2p1:ProviderId>
        <d2p1:ReportId>e1b680b3-6867-4d25-a861-ddf8de6fc6a0</d2p1:ReportId>
        <d2p1:ReportPackage>sample string 1</d2p1:ReportPackage>
        <d2p1:ReportResult>sample string 6</d2p1:ReportResult>
        <d2p1:ReportStatus>sample string 5</d2p1:ReportStatus>
        <d2p1:SMSNotifiedTime>sample string 12</d2p1:SMSNotifiedTime>
        <d2p1:SMSNotifiedTime_Ack>sample string 16</d2p1:SMSNotifiedTime_Ack>
        <d2p1:ScheduledDate>sample string 3</d2p1:ScheduledDate>
        <d2p1:TimeWindowInHour>sample string 21</d2p1:TimeWindowInHour>
      </d2p1:DOTCurrentRandomReponsesDto>
      <d2p1:DOTCurrentRandomReponsesDto>
        <d2p1:AppNotifiedTime>sample string 14</d2p1:AppNotifiedTime>
        <d2p1:AppNotifiedTime_Ack>sample string 18</d2p1:AppNotifiedTime_Ack>
        <d2p1:Attachment>sample string 7</d2p1:Attachment>
        <d2p1:CCFAttachment>sample string 9</d2p1:CCFAttachment>
        <d2p1:CheckInTime>sample string 19</d2p1:CheckInTime>
        <d2p1:CheckOutTime>sample string 20</d2p1:CheckOutTime>
        <d2p1:DonorPass>sample string 8</d2p1:DonorPass>
        <d2p1:EmailNotifiedTime>sample string 13</d2p1:EmailNotifiedTime>
        <d2p1:EmailNotifiedTime_Ack>sample string 17</d2p1:EmailNotifiedTime_Ack>
        <d2p1:IsAlcohol>true</d2p1:IsAlcohol>
        <d2p1:IsDrug>true</d2p1:IsDrug>
        <d2p1:LocationUrl>sample string 22</d2p1:LocationUrl>
        <d2p1:NotificationDate>sample string 4</d2p1:NotificationDate>
        <d2p1:OperatorId>aa60d646-d2d4-4185-847c-a44b43bf6958</d2p1:OperatorId>
        <d2p1:POCTAttachment>sample string 10</d2p1:POCTAttachment>
        <d2p1:PhoneNotifiedTime>sample string 11</d2p1:PhoneNotifiedTime>
        <d2p1:PhoneNotifiedTime_Ack>sample string 15</d2p1:PhoneNotifiedTime_Ack>
        <d2p1:ProviderId>da1a8c81-5f3b-42e0-bdda-068eb65ea20a</d2p1:ProviderId>
        <d2p1:ReportId>e1b680b3-6867-4d25-a861-ddf8de6fc6a0</d2p1:ReportId>
        <d2p1:ReportPackage>sample string 1</d2p1:ReportPackage>
        <d2p1:ReportResult>sample string 6</d2p1:ReportResult>
        <d2p1:ReportStatus>sample string 5</d2p1:ReportStatus>
        <d2p1:SMSNotifiedTime>sample string 12</d2p1:SMSNotifiedTime>
        <d2p1:SMSNotifiedTime_Ack>sample string 16</d2p1:SMSNotifiedTime_Ack>
        <d2p1:ScheduledDate>sample string 3</d2p1:ScheduledDate>
        <d2p1:TimeWindowInHour>sample string 21</d2p1:TimeWindowInHour>
      </d2p1:DOTCurrentRandomReponsesDto>
    </d2p1:Reports>
    <d2p1:Result>
      <Message>sample string 1</Message>
      <Status>2</Status>
    </d2p1:Result>
  </data>
  <message>sample string 2</message>
  <status>1</status>
</ApiResponseNewOfDOTCurrentRandomResponseMainDtoX7UxrhxG>