POST user/getallservicecenter

Request Information

URI Parameters

None.

Body Parameters

ServiceCenterModel
NameDescriptionTypeAdditional information
date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "date": "2025-12-28T14:51:44.8244858-06:00"
}

application/xml, text/xml

Sample:
<ServiceCenterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NH_MachineOwner.Models.ComplexTypes">
  <date>2025-12-28T14:51:44.8244858-06:00</date>
</ServiceCenterModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceCenterResponseModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

ServiceSchemeMaster

Collection of ServiceSchemeMaster

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "ServiceSchemeMaster": [
    {
      "ServiceSchemeId": 1,
      "ServiceScheme": "sample string 2",
      "SchemeStartDate": "2025-12-28T14:51:44.8400688-06:00",
      "SchemeEndDate": "2025-12-28T14:51:44.8400688-06:00",
      "ServiceSchemeCharge": 5,
      "CreatedOn": "2025-12-28T14:51:44.8400688-06:00",
      "UpdatedOn": "2025-12-28T14:51:44.8400688-06:00"
    },
    {
      "ServiceSchemeId": 1,
      "ServiceScheme": "sample string 2",
      "SchemeStartDate": "2025-12-28T14:51:44.8400688-06:00",
      "SchemeEndDate": "2025-12-28T14:51:44.8400688-06:00",
      "ServiceSchemeCharge": 5,
      "CreatedOn": "2025-12-28T14:51:44.8400688-06:00",
      "UpdatedOn": "2025-12-28T14:51:44.8400688-06:00"
    }
  ]
}

application/xml, text/xml

Sample:
<ServiceCenterResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NH_MachineOwner.Models.ComplexTypes">
  <Message>sample string 2</Message>
  <ServiceSchemeMaster xmlns:d2p1="http://schemas.datacontract.org/2004/07/NH_MachineOwner.Models">
    <d2p1:ServiceSchemeMaster>
      <d2p1:CreatedOn>2025-12-28T14:51:44.8400688-06:00</d2p1:CreatedOn>
      <d2p1:SchemeEndDate>2025-12-28T14:51:44.8400688-06:00</d2p1:SchemeEndDate>
      <d2p1:SchemeStartDate>2025-12-28T14:51:44.8400688-06:00</d2p1:SchemeStartDate>
      <d2p1:ServiceScheme>sample string 2</d2p1:ServiceScheme>
      <d2p1:ServiceSchemeCharge>5</d2p1:ServiceSchemeCharge>
      <d2p1:ServiceSchemeId>1</d2p1:ServiceSchemeId>
      <d2p1:UpdatedOn>2025-12-28T14:51:44.8400688-06:00</d2p1:UpdatedOn>
    </d2p1:ServiceSchemeMaster>
    <d2p1:ServiceSchemeMaster>
      <d2p1:CreatedOn>2025-12-28T14:51:44.8400688-06:00</d2p1:CreatedOn>
      <d2p1:SchemeEndDate>2025-12-28T14:51:44.8400688-06:00</d2p1:SchemeEndDate>
      <d2p1:SchemeStartDate>2025-12-28T14:51:44.8400688-06:00</d2p1:SchemeStartDate>
      <d2p1:ServiceScheme>sample string 2</d2p1:ServiceScheme>
      <d2p1:ServiceSchemeCharge>5</d2p1:ServiceSchemeCharge>
      <d2p1:ServiceSchemeId>1</d2p1:ServiceSchemeId>
      <d2p1:UpdatedOn>2025-12-28T14:51:44.8400688-06:00</d2p1:UpdatedOn>
    </d2p1:ServiceSchemeMaster>
  </ServiceSchemeMaster>
  <Success>true</Success>
</ServiceCenterResponseModel>