GET api/v1/banzaifieldservices/{PartnerId}/ChangedStatus/Tasks?StartDate={StartDate}&EndDate={EndDate}

Get tasks with date last update between StartDate and End Date

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PartnerId

The partner identifier:
1 = 'ePRICE'

integer

Required

StartDate

StartDate Filter

date

Required

EndDate

End Date Filter

date

Required

Body Parameters

None.

Response Information

Resource Description

Task model

Collection of ChangedTaskDTO
NameDescriptionTypeAdditional information
IdAppointment

integer

None.

Type

string

None.

StatusNameFrom

string

None.

StatusNameTo

string

None.

DateChange

date

None.

ExternalReferenceNumber

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "idAppointment": 1,
    "type": "sample string 2",
    "statusNameFrom": "sample string 3",
    "statusNameTo": "sample string 4",
    "dateChange": "2024-12-29T17:03:23.1155441+01:00",
    "externalReferenceNumber": "a705abaf-0ae5-4cd2-bd73-fa7de2e7ebec"
  },
  {
    "idAppointment": 1,
    "type": "sample string 2",
    "statusNameFrom": "sample string 3",
    "statusNameTo": "sample string 4",
    "dateChange": "2024-12-29T17:03:23.1155441+01:00",
    "externalReferenceNumber": "a705abaf-0ae5-4cd2-bd73-fa7de2e7ebec"
  }
]

text/plain

Sample:
[{"idAppointment":1,"type":"sample string 2","statusNameFrom":"sample string 3","statusNameTo":"sample string 4","dateChange":"2024-12-29T17:03:23.1155441+01:00","externalReferenceNumber":"a705abaf-0ae5-4cd2-bd73-fa7de2e7ebec"},{"idAppointment":1,"type":"sample string 2","statusNameFrom":"sample string 3","statusNameTo":"sample string 4","dateChange":"2024-12-29T17:03:23.1155441+01:00","externalReferenceNumber":"a705abaf-0ae5-4cd2-bd73-fa7de2e7ebec"}]

application/xml, text/xml

Sample:
<ArrayOfChangedTaskDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicePlatform.BL.Models.ChangedStatus">
  <ChangedTaskDTO>
    <DateChange>2024-12-29T17:03:23.1155441+01:00</DateChange>
    <ExternalReferenceNumber>a705abaf-0ae5-4cd2-bd73-fa7de2e7ebec</ExternalReferenceNumber>
    <IdAppointment>1</IdAppointment>
    <StatusNameFrom>sample string 3</StatusNameFrom>
    <StatusNameTo>sample string 4</StatusNameTo>
    <Type>sample string 2</Type>
  </ChangedTaskDTO>
  <ChangedTaskDTO>
    <DateChange>2024-12-29T17:03:23.1155441+01:00</DateChange>
    <ExternalReferenceNumber>a705abaf-0ae5-4cd2-bd73-fa7de2e7ebec</ExternalReferenceNumber>
    <IdAppointment>1</IdAppointment>
    <StatusNameFrom>sample string 3</StatusNameFrom>
    <StatusNameTo>sample string 4</StatusNameTo>
    <Type>sample string 2</Type>
  </ChangedTaskDTO>
</ArrayOfChangedTaskDTO>

application/octet-stream

Sample:
[{"IdAppointment":1,"Type":"sample string 2","StatusNameFrom":"sample string 3","StatusNameTo":"sample string 4","DateChange":"2024-12-29T17:03:23.1155441+01:00","ExternalReferenceNumber":"a705abaf-0ae5-4cd2-bd73-fa7de2e7ebec"},{"IdAppointment":1,"Type":"sample string 2","StatusNameFrom":"sample string 3","StatusNameTo":"sample string 4","DateChange":"2024-12-29T17:03:23.1155441+01:00","ExternalReferenceNumber":"a705abaf-0ae5-4cd2-bd73-fa7de2e7ebec"}]

text/javascript, application/javascript, application/json-p

Sample:
([{"idAppointment":1,"type":"sample string 2","statusNameFrom":"sample string 3","statusNameTo":"sample string 4","dateChange":"2024-12-29T17:03:23.1155441+01:00","externalReferenceNumber":"a705abaf-0ae5-4cd2-bd73-fa7de2e7ebec"},{"idAppointment":1,"type":"sample string 2","statusNameFrom":"sample string 3","statusNameTo":"sample string 4","dateChange":"2024-12-29T17:03:23.1155441+01:00","externalReferenceNumber":"a705abaf-0ae5-4cd2-bd73-fa7de2e7ebec"}]);