GET api/BookingSetting/GetStates?apiKey={apiKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of State
NameDescriptionTypeAdditional information
StateID

globally unique identifier

None.

Name

string

None.

Code

string

None.

CreatedBy

globally unique identifier

None.

CreatedOn

date

None.

ModifiedBy

globally unique identifier

None.

ModifiedOn

date

None.

IsDeleted

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "StateID": "6ee3c37a-b3c6-4be1-a406-7e3f14dc10a6",
    "Name": "sample string 2",
    "Code": "sample string 3",
    "CreatedBy": "49632d43-0d0a-4d67-ae0c-de6d133589e6",
    "CreatedOn": "2024-06-14T06:10:21.4181151+04:00",
    "ModifiedBy": "d56e311e-78ea-4fc5-84af-3c2cba98e294",
    "ModifiedOn": "2024-06-14T06:10:21.4181151+04:00",
    "IsDeleted": true
  },
  {
    "StateID": "6ee3c37a-b3c6-4be1-a406-7e3f14dc10a6",
    "Name": "sample string 2",
    "Code": "sample string 3",
    "CreatedBy": "49632d43-0d0a-4d67-ae0c-de6d133589e6",
    "CreatedOn": "2024-06-14T06:10:21.4181151+04:00",
    "ModifiedBy": "d56e311e-78ea-4fc5-84af-3c2cba98e294",
    "ModifiedOn": "2024-06-14T06:10:21.4181151+04:00",
    "IsDeleted": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfState xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity.Setup">
  <State>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">49632d43-0d0a-4d67-ae0c-de6d133589e6</CreatedBy>
    <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">2024-06-14T06:10:21.4181151+04:00</CreatedOn>
    <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">true</IsDeleted>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">d56e311e-78ea-4fc5-84af-3c2cba98e294</ModifiedBy>
    <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">2024-06-14T06:10:21.4181151+04:00</ModifiedOn>
    <Code>sample string 3</Code>
    <Name>sample string 2</Name>
    <StateID>6ee3c37a-b3c6-4be1-a406-7e3f14dc10a6</StateID>
  </State>
  <State>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">49632d43-0d0a-4d67-ae0c-de6d133589e6</CreatedBy>
    <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">2024-06-14T06:10:21.4181151+04:00</CreatedOn>
    <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">true</IsDeleted>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">d56e311e-78ea-4fc5-84af-3c2cba98e294</ModifiedBy>
    <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">2024-06-14T06:10:21.4181151+04:00</ModifiedOn>
    <Code>sample string 3</Code>
    <Name>sample string 2</Name>
    <StateID>6ee3c37a-b3c6-4be1-a406-7e3f14dc10a6</StateID>
  </State>
</ArrayOfState>