POST api/OnSiteDashboard/GetDashboardOnSiteCount

Request Information

URI Parameters

None.

Body Parameters

OnSiteDashBoardDTO
NameDescriptionTypeAdditional information
OnSiteLocationId

integer

None.

closedate

date

None.

CompanyCode

string

String length: inclusive between 0 and 10

ListWorkLocationCode

Collection of string

None.

InteractionType

integer

None.

PageNum

integer

None.

PageSize

integer

None.

isOnSite

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OnSiteLocationId": 1,
  "closedate": "2025-04-04T05:52:25.504958-07:00",
  "CompanyCode": "sample string 3",
  "ListWorkLocationCode": [
    "sample string 1",
    "sample string 2"
  ],
  "InteractionType": 4,
  "PageNum": 5,
  "PageSize": 6,
  "isOnSite": 7
}

application/xml, text/xml

Sample:
<OnSiteDashBoardDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
  <CompanyCode>sample string 3</CompanyCode>
  <InteractionType>4</InteractionType>
  <ListWorkLocationCode xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ListWorkLocationCode>
  <OnSiteLocationId>1</OnSiteLocationId>
  <PageNum>5</PageNum>
  <PageSize>6</PageSize>
  <closedate>2025-04-04T05:52:25.504958-07:00</closedate>
  <isOnSite>7</isOnSite>
</OnSiteDashBoardDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfOnsiteDashboardCountDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

OnsiteDashboardCountDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "OpenCaseCount": 1,
    "NoPendingOpenCaseCount": 1,
    "OpenOnsiteEncounterCount": 1,
    "CloseCaseCount": 1,
    "FOLOnSitePastCount": 1,
    "FOLOnSiteTodayCount": 1,
    "FOLOnSite7DaysCount": 1,
    "FOLOnSiteTotalCount": 1,
    "FOLOnSiteAfter7DaysCount": 1,
    "PendingNotificaionTotalCount": 1,
    "PendingNotificaionTodayCount": 1,
    "PendingNotificaionLast30DaysCount": 1
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfOnsiteDashboardCountDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
  <isSuccess>true</isSuccess>
  <jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
    <d2p1:CloseCaseCount>1</d2p1:CloseCaseCount>
    <d2p1:FOLOnSite7DaysCount>1</d2p1:FOLOnSite7DaysCount>
    <d2p1:FOLOnSiteAfter7DaysCount>1</d2p1:FOLOnSiteAfter7DaysCount>
    <d2p1:FOLOnSitePastCount>1</d2p1:FOLOnSitePastCount>
    <d2p1:FOLOnSiteTodayCount>1</d2p1:FOLOnSiteTodayCount>
    <d2p1:FOLOnSiteTotalCount>1</d2p1:FOLOnSiteTotalCount>
    <d2p1:NoPendingOpenCaseCount>1</d2p1:NoPendingOpenCaseCount>
    <d2p1:OpenCaseCount>1</d2p1:OpenCaseCount>
    <d2p1:OpenOnsiteEncounterCount>1</d2p1:OpenOnsiteEncounterCount>
    <d2p1:PendingNotificaionLast30DaysCount>1</d2p1:PendingNotificaionLast30DaysCount>
    <d2p1:PendingNotificaionTodayCount>1</d2p1:PendingNotificaionTodayCount>
    <d2p1:PendingNotificaionTotalCount>1</d2p1:PendingNotificaionTotalCount>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfOnsiteDashboardCountDTO3NYuOdgi>