POST API/Vehicle/GetVehicleService

Request Information

URI Parameters

None.

Body Parameters

VehicleServiceM
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

Vehicle_ID

globally unique identifier

None.

ServiceType_ID

integer

None.

Description

string

None.

Amount

integer

None.

ExpireDate

date

None.

CreateDate

date

None.

UpdatePerson_ID

globally unique identifier

None.

InstallationDate

date

None.

Status

boolean

None.

SendForExpens

Collection of SendForExpensM

None.

documents

Collection of DocumentM

None.

documentsForService

Collection of DocumentM

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "c3c7a0a4-3bd9-4037-9b50-2062353644ca",
  "Vehicle_ID": "134212cb-2230-4ff5-a641-8e8ad4d27c70",
  "ServiceType_ID": 3,
  "Description": "sample string 4",
  "Amount": 1,
  "ExpireDate": "2026-05-17T04:13:13.7940939+05:00",
  "CreateDate": "2026-05-17T04:13:13.7940939+05:00",
  "UpdatePerson_ID": "3fa70953-71f5-420e-813f-bb33059a9b5c",
  "InstallationDate": "2026-05-17T04:13:13.7940939+05:00",
  "Status": true,
  "SendForExpens": [
    {
      "dtS": "2026-05-17T04:13:13.7940939+05:00",
      "dtE": "2026-05-17T04:13:13.7940939+05:00",
      "ID": "77a1cd28-1e24-4ff3-9ab5-d7ee7f255ee5",
      "VehicleService_ID": "4b809d31-1af6-4653-bbec-b5884731b27d",
      "Department_ID": 3,
      "Stock_ID": "c29a4243-3dc2-43f6-bf25-5c2fd48d06f8",
      "UnitOfMeasurement": 5,
      "Quantity": 6,
      "InventoryNumber": 7,
      "Price": 8,
      "Sum": 9,
      "CreateDate": "2026-05-17T04:13:13.7940939+05:00",
      "UpdatePerson_ID": "27d9a7ee-5d44-4b39-85b7-109bf9fcaa33",
      "UpdateDate": "2026-05-17T04:13:13.7940939+05:00",
      "StockIncoming_ID": "56568242-2456-4c55-9d34-d2e2368f8198",
      "Stock": {
        "ID": "38364b08-2d17-41a1-a582-2fa6ce6a9f1a",
        "Code": 2,
        "Name": "sample string 3",
        "CreateDate": "2026-05-17T04:13:13.7940939+05:00"
      }
    },
    {
      "dtS": "2026-05-17T04:13:13.7940939+05:00",
      "dtE": "2026-05-17T04:13:13.7940939+05:00",
      "ID": "77a1cd28-1e24-4ff3-9ab5-d7ee7f255ee5",
      "VehicleService_ID": "4b809d31-1af6-4653-bbec-b5884731b27d",
      "Department_ID": 3,
      "Stock_ID": "c29a4243-3dc2-43f6-bf25-5c2fd48d06f8",
      "UnitOfMeasurement": 5,
      "Quantity": 6,
      "InventoryNumber": 7,
      "Price": 8,
      "Sum": 9,
      "CreateDate": "2026-05-17T04:13:13.7940939+05:00",
      "UpdatePerson_ID": "27d9a7ee-5d44-4b39-85b7-109bf9fcaa33",
      "UpdateDate": "2026-05-17T04:13:13.7940939+05:00",
      "StockIncoming_ID": "56568242-2456-4c55-9d34-d2e2368f8198",
      "Stock": {
        "ID": "38364b08-2d17-41a1-a582-2fa6ce6a9f1a",
        "Code": 2,
        "Name": "sample string 3",
        "CreateDate": "2026-05-17T04:13:13.7940939+05:00"
      }
    }
  ],
  "documents": [
    {
      "id": "7a10ce7e-eab3-4250-a7c8-d09a05afc800",
      "documentType": 1,
      "fileName": "sample string 1",
      "fileType": "sample string 2",
      "fileContent": "QEA=",
      "createDate": "2026-05-17T04:13:13.7940939+05:00"
    },
    {
      "id": "7a10ce7e-eab3-4250-a7c8-d09a05afc800",
      "documentType": 1,
      "fileName": "sample string 1",
      "fileType": "sample string 2",
      "fileContent": "QEA=",
      "createDate": "2026-05-17T04:13:13.7940939+05:00"
    }
  ],
  "documentsForService": [
    {
      "id": "7a10ce7e-eab3-4250-a7c8-d09a05afc800",
      "documentType": 1,
      "fileName": "sample string 1",
      "fileType": "sample string 2",
      "fileContent": "QEA=",
      "createDate": "2026-05-17T04:13:13.7940939+05:00"
    },
    {
      "id": "7a10ce7e-eab3-4250-a7c8-d09a05afc800",
      "documentType": 1,
      "fileName": "sample string 1",
      "fileType": "sample string 2",
      "fileContent": "QEA=",
      "createDate": "2026-05-17T04:13:13.7940939+05:00"
    }
  ]
}

application/xml, text/xml

Sample:
<VehicleServiceM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CarPark.Models.Basic">
  <Amount>1</Amount>
  <CreateDate>2026-05-17T04:13:13.7940939+05:00</CreateDate>
  <Description>sample string 4</Description>
  <ExpireDate>2026-05-17T04:13:13.7940939+05:00</ExpireDate>
  <ID>c3c7a0a4-3bd9-4037-9b50-2062353644ca</ID>
  <InstallationDate>2026-05-17T04:13:13.7940939+05:00</InstallationDate>
  <SendForExpens>
    <SendForExpensM>
      <CreateDate>2026-05-17T04:13:13.7940939+05:00</CreateDate>
      <Department_ID>3</Department_ID>
      <ID>77a1cd28-1e24-4ff3-9ab5-d7ee7f255ee5</ID>
      <InventoryNumber>7</InventoryNumber>
      <Price>8</Price>
      <Quantity>6</Quantity>
      <Stock>
        <Code>2</Code>
        <CreateDate>2026-05-17T04:13:13.7940939+05:00</CreateDate>
        <ID>38364b08-2d17-41a1-a582-2fa6ce6a9f1a</ID>
        <Name>sample string 3</Name>
      </Stock>
      <StockIncoming_ID>56568242-2456-4c55-9d34-d2e2368f8198</StockIncoming_ID>
      <Stock_ID>c29a4243-3dc2-43f6-bf25-5c2fd48d06f8</Stock_ID>
      <Sum>9</Sum>
      <UnitOfMeasurement>5</UnitOfMeasurement>
      <UpdateDate>2026-05-17T04:13:13.7940939+05:00</UpdateDate>
      <UpdatePerson_ID>27d9a7ee-5d44-4b39-85b7-109bf9fcaa33</UpdatePerson_ID>
      <VehicleService_ID>4b809d31-1af6-4653-bbec-b5884731b27d</VehicleService_ID>
      <dtE>2026-05-17T04:13:13.7940939+05:00</dtE>
      <dtS>2026-05-17T04:13:13.7940939+05:00</dtS>
    </SendForExpensM>
    <SendForExpensM>
      <CreateDate>2026-05-17T04:13:13.7940939+05:00</CreateDate>
      <Department_ID>3</Department_ID>
      <ID>77a1cd28-1e24-4ff3-9ab5-d7ee7f255ee5</ID>
      <InventoryNumber>7</InventoryNumber>
      <Price>8</Price>
      <Quantity>6</Quantity>
      <Stock>
        <Code>2</Code>
        <CreateDate>2026-05-17T04:13:13.7940939+05:00</CreateDate>
        <ID>38364b08-2d17-41a1-a582-2fa6ce6a9f1a</ID>
        <Name>sample string 3</Name>
      </Stock>
      <StockIncoming_ID>56568242-2456-4c55-9d34-d2e2368f8198</StockIncoming_ID>
      <Stock_ID>c29a4243-3dc2-43f6-bf25-5c2fd48d06f8</Stock_ID>
      <Sum>9</Sum>
      <UnitOfMeasurement>5</UnitOfMeasurement>
      <UpdateDate>2026-05-17T04:13:13.7940939+05:00</UpdateDate>
      <UpdatePerson_ID>27d9a7ee-5d44-4b39-85b7-109bf9fcaa33</UpdatePerson_ID>
      <VehicleService_ID>4b809d31-1af6-4653-bbec-b5884731b27d</VehicleService_ID>
      <dtE>2026-05-17T04:13:13.7940939+05:00</dtE>
      <dtS>2026-05-17T04:13:13.7940939+05:00</dtS>
    </SendForExpensM>
  </SendForExpens>
  <ServiceType_ID>3</ServiceType_ID>
  <Status>true</Status>
  <UpdatePerson_ID>3fa70953-71f5-420e-813f-bb33059a9b5c</UpdatePerson_ID>
  <Vehicle_ID>134212cb-2230-4ff5-a641-8e8ad4d27c70</Vehicle_ID>
  <documents>
    <DocumentM>
      <createDate>2026-05-17T04:13:13.7940939+05:00</createDate>
      <documentType>1</documentType>
      <fileContent>QEA=</fileContent>
      <fileName>sample string 1</fileName>
      <fileType>sample string 2</fileType>
      <id>7a10ce7e-eab3-4250-a7c8-d09a05afc800</id>
    </DocumentM>
    <DocumentM>
      <createDate>2026-05-17T04:13:13.7940939+05:00</createDate>
      <documentType>1</documentType>
      <fileContent>QEA=</fileContent>
      <fileName>sample string 1</fileName>
      <fileType>sample string 2</fileType>
      <id>7a10ce7e-eab3-4250-a7c8-d09a05afc800</id>
    </DocumentM>
  </documents>
  <documentsForService>
    <DocumentM>
      <createDate>2026-05-17T04:13:13.7940939+05:00</createDate>
      <documentType>1</documentType>
      <fileContent>QEA=</fileContent>
      <fileName>sample string 1</fileName>
      <fileType>sample string 2</fileType>
      <id>7a10ce7e-eab3-4250-a7c8-d09a05afc800</id>
    </DocumentM>
    <DocumentM>
      <createDate>2026-05-17T04:13:13.7940939+05:00</createDate>
      <documentType>1</documentType>
      <fileContent>QEA=</fileContent>
      <fileName>sample string 1</fileName>
      <fileType>sample string 2</fileType>
      <id>7a10ce7e-eab3-4250-a7c8-d09a05afc800</id>
    </DocumentM>
  </documentsForService>
</VehicleServiceM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>