POST api/PreAuthorization/GetPreAuthorizationRequestList

Gets The list of PreAuthorization Requests

Request Information

URI Parameters

None.

Body Parameters

PreAuthRequestListInputModel
NameDescriptionTypeAdditional information
Agents

Gets or sets agents list

Collection of string

None.

RequestCreationDateFrom

Gtes or Sets Request Creation Date From

date

None.

RequestCreationDateTo

Gtes or Sets Request Creation Date To

date

None.

RequestSubmisssionDateFrom

Gtes or Sets Request Submisssion Date From

date

None.

RequestSubmisssionDateTo

Gtes or Sets Request Submisssion Date From

date

None.

PolicyNumber

Gtes or Sets PolicyNumber

string

None.

MemberName

Gets or Sets Memeber Name

string

None.

AgencyName

Gets or Sets Agency Name

string

None.

AgentName

Gets or Sets Agent Name

string

None.

Status

Gets or Sets Status

string

None.

SortParam

Sort Param details

integer

None.

PageIndex

0 based index of the current page

integer

Required

PageSize

Page size

integer

Required

SortFields

List of Sort fields

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "Agents": [
    "sample string 1",
    "sample string 2"
  ],
  "RequestCreationDateFrom": "2021-04-21T03:07:10.1752836-07:00",
  "RequestCreationDateTo": "2021-04-21T03:07:10.1752836-07:00",
  "RequestSubmisssionDateFrom": "2021-04-21T03:07:10.1752836-07:00",
  "RequestSubmisssionDateTo": "2021-04-21T03:07:10.1752836-07:00",
  "PolicyNumber": "sample string 1",
  "MemberName": "sample string 2",
  "AgencyName": "sample string 3",
  "AgentName": "sample string 4",
  "Status": "sample string 5",
  "SortParam": 6,
  "PageIndex": 7,
  "PageSize": 8,
  "SortFields": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<PreAuthRequestListInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GBG.AS.AgentPortal.API.Areas.PreAuthorization.Models">
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/GBG.AS.AgentPortal.API.Models">7</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/GBG.AS.AgentPortal.API.Models">8</PageSize>
  <SortFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/GBG.AS.AgentPortal.API.Models">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </SortFields>
  <AgencyName>sample string 3</AgencyName>
  <AgentName>sample string 4</AgentName>
  <Agents xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Agents>
  <MemberName>sample string 2</MemberName>
  <PolicyNumber>sample string 1</PolicyNumber>
  <RequestCreationDateFrom>2021-04-21T03:07:10.1752836-07:00</RequestCreationDateFrom>
  <RequestCreationDateTo>2021-04-21T03:07:10.1752836-07:00</RequestCreationDateTo>
  <RequestSubmisssionDateFrom>2021-04-21T03:07:10.1752836-07:00</RequestSubmisssionDateFrom>
  <RequestSubmisssionDateTo>2021-04-21T03:07:10.1752836-07:00</RequestSubmisssionDateTo>
  <SortParam>6</SortParam>
  <Status>sample string 5</Status>
</PreAuthRequestListInputModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PagedEntityOfPreAuthorizationList
NameDescriptionTypeAdditional information
TotalCount

integer

None.

ListCount

integer

None.

DataList

Collection of PreAuthorizationList

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "ListCount": 2,
  "DataList": [
    {
      "RequestCreationDate": "2021-04-21T03:07:10.1908989-07:00",
      "PolicyNumber": "sample string 2",
      "RequestSubmissionDate": "2021-04-21T03:07:10.1908989-07:00",
      "MemberName": "sample string 3",
      "AgencyName": "sample string 4",
      "AgentName": "sample string 5",
      "Status": "sample string 6",
      "GpsQueueId": 7,
      "TotalCount": 8,
      "ID": 9,
      "CreatedDate": "2021-04-21T03:07:10.1908989-07:00",
      "CreatedUser": "sample string 11",
      "ModifiedDate": "2021-04-21T03:07:10.1908989-07:00",
      "ModifiedUser": "sample string 12",
      "Version": 13
    },
    {
      "RequestCreationDate": "2021-04-21T03:07:10.1908989-07:00",
      "PolicyNumber": "sample string 2",
      "RequestSubmissionDate": "2021-04-21T03:07:10.1908989-07:00",
      "MemberName": "sample string 3",
      "AgencyName": "sample string 4",
      "AgentName": "sample string 5",
      "Status": "sample string 6",
      "GpsQueueId": 7,
      "TotalCount": 8,
      "ID": 9,
      "CreatedDate": "2021-04-21T03:07:10.1908989-07:00",
      "CreatedUser": "sample string 11",
      "ModifiedDate": "2021-04-21T03:07:10.1908989-07:00",
      "ModifiedUser": "sample string 12",
      "Version": 13
    }
  ]
}

application/xml, text/xml

Sample:
<PagedEntityOfPreAuthorizationListyDGNpORI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Speridian.Data.Base.Models" />