POST API/Vehicle/RemoveVehicleService

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": "63e11885-72e7-4d9c-a4b4-16c672725caa",
  "Vehicle_ID": "9feb8025-7afb-4b97-b69a-06839d627699",
  "ServiceType_ID": 3,
  "Description": "sample string 4",
  "Amount": 1,
  "ExpireDate": "2026-07-16T03:15:56.1221432+05:00",
  "CreateDate": "2026-07-16T03:15:56.1221432+05:00",
  "UpdatePerson_ID": "a2a4d5dd-e60e-471e-9d99-71678fd0bd9d",
  "InstallationDate": "2026-07-16T03:15:56.1221432+05:00",
  "Status": true,
  "SendForExpens": [
    {
      "dtS": "2026-07-16T03:15:56.1221432+05:00",
      "dtE": "2026-07-16T03:15:56.1221432+05:00",
      "ID": "7564820a-fc63-4541-8963-a1e177ff3287",
      "VehicleService_ID": "67bd6201-adf0-4149-85de-578b550651e4",
      "Department_ID": 3,
      "Stock_ID": "d5f8a48d-1b4e-4fb9-91b0-2258047dd7a4",
      "UnitOfMeasurement": 5,
      "Quantity": 6,
      "InventoryNumber": 7,
      "Price": 8,
      "Sum": 9,
      "CreateDate": "2026-07-16T03:15:56.1221432+05:00",
      "UpdatePerson_ID": "7431633f-3aec-4ccf-886b-b8d3a309442e",
      "UpdateDate": "2026-07-16T03:15:56.1221432+05:00",
      "StockIncoming_ID": "a47ee053-0d00-4310-a61d-d4d23f2ea8b4",
      "Stock": {
        "ID": "5bf17439-5e3b-4244-973f-9a7a4bb08095",
        "Code": 2,
        "Name": "sample string 3",
        "CreateDate": "2026-07-16T03:15:56.1221432+05:00"
      }
    },
    {
      "dtS": "2026-07-16T03:15:56.1221432+05:00",
      "dtE": "2026-07-16T03:15:56.1221432+05:00",
      "ID": "7564820a-fc63-4541-8963-a1e177ff3287",
      "VehicleService_ID": "67bd6201-adf0-4149-85de-578b550651e4",
      "Department_ID": 3,
      "Stock_ID": "d5f8a48d-1b4e-4fb9-91b0-2258047dd7a4",
      "UnitOfMeasurement": 5,
      "Quantity": 6,
      "InventoryNumber": 7,
      "Price": 8,
      "Sum": 9,
      "CreateDate": "2026-07-16T03:15:56.1221432+05:00",
      "UpdatePerson_ID": "7431633f-3aec-4ccf-886b-b8d3a309442e",
      "UpdateDate": "2026-07-16T03:15:56.1221432+05:00",
      "StockIncoming_ID": "a47ee053-0d00-4310-a61d-d4d23f2ea8b4",
      "Stock": {
        "ID": "5bf17439-5e3b-4244-973f-9a7a4bb08095",
        "Code": 2,
        "Name": "sample string 3",
        "CreateDate": "2026-07-16T03:15:56.1221432+05:00"
      }
    }
  ],
  "documents": [
    {
      "id": "56a8af18-36e0-444d-af20-be2bbdc07b7a",
      "documentType": 1,
      "fileName": "sample string 1",
      "fileType": "sample string 2",
      "fileContent": "QEA=",
      "createDate": "2026-07-16T03:15:56.1221432+05:00"
    },
    {
      "id": "56a8af18-36e0-444d-af20-be2bbdc07b7a",
      "documentType": 1,
      "fileName": "sample string 1",
      "fileType": "sample string 2",
      "fileContent": "QEA=",
      "createDate": "2026-07-16T03:15:56.1221432+05:00"
    }
  ],
  "documentsForService": [
    {
      "id": "56a8af18-36e0-444d-af20-be2bbdc07b7a",
      "documentType": 1,
      "fileName": "sample string 1",
      "fileType": "sample string 2",
      "fileContent": "QEA=",
      "createDate": "2026-07-16T03:15:56.1221432+05:00"
    },
    {
      "id": "56a8af18-36e0-444d-af20-be2bbdc07b7a",
      "documentType": 1,
      "fileName": "sample string 1",
      "fileType": "sample string 2",
      "fileContent": "QEA=",
      "createDate": "2026-07-16T03:15:56.1221432+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-07-16T03:15:56.1221432+05:00</CreateDate>
  <Description>sample string 4</Description>
  <ExpireDate>2026-07-16T03:15:56.1221432+05:00</ExpireDate>
  <ID>63e11885-72e7-4d9c-a4b4-16c672725caa</ID>
  <InstallationDate>2026-07-16T03:15:56.1221432+05:00</InstallationDate>
  <SendForExpens>
    <SendForExpensM>
      <CreateDate>2026-07-16T03:15:56.1221432+05:00</CreateDate>
      <Department_ID>3</Department_ID>
      <ID>7564820a-fc63-4541-8963-a1e177ff3287</ID>
      <InventoryNumber>7</InventoryNumber>
      <Price>8</Price>
      <Quantity>6</Quantity>
      <Stock>
        <Code>2</Code>
        <CreateDate>2026-07-16T03:15:56.1221432+05:00</CreateDate>
        <ID>5bf17439-5e3b-4244-973f-9a7a4bb08095</ID>
        <Name>sample string 3</Name>
      </Stock>
      <StockIncoming_ID>a47ee053-0d00-4310-a61d-d4d23f2ea8b4</StockIncoming_ID>
      <Stock_ID>d5f8a48d-1b4e-4fb9-91b0-2258047dd7a4</Stock_ID>
      <Sum>9</Sum>
      <UnitOfMeasurement>5</UnitOfMeasurement>
      <UpdateDate>2026-07-16T03:15:56.1221432+05:00</UpdateDate>
      <UpdatePerson_ID>7431633f-3aec-4ccf-886b-b8d3a309442e</UpdatePerson_ID>
      <VehicleService_ID>67bd6201-adf0-4149-85de-578b550651e4</VehicleService_ID>
      <dtE>2026-07-16T03:15:56.1221432+05:00</dtE>
      <dtS>2026-07-16T03:15:56.1221432+05:00</dtS>
    </SendForExpensM>
    <SendForExpensM>
      <CreateDate>2026-07-16T03:15:56.1221432+05:00</CreateDate>
      <Department_ID>3</Department_ID>
      <ID>7564820a-fc63-4541-8963-a1e177ff3287</ID>
      <InventoryNumber>7</InventoryNumber>
      <Price>8</Price>
      <Quantity>6</Quantity>
      <Stock>
        <Code>2</Code>
        <CreateDate>2026-07-16T03:15:56.1221432+05:00</CreateDate>
        <ID>5bf17439-5e3b-4244-973f-9a7a4bb08095</ID>
        <Name>sample string 3</Name>
      </Stock>
      <StockIncoming_ID>a47ee053-0d00-4310-a61d-d4d23f2ea8b4</StockIncoming_ID>
      <Stock_ID>d5f8a48d-1b4e-4fb9-91b0-2258047dd7a4</Stock_ID>
      <Sum>9</Sum>
      <UnitOfMeasurement>5</UnitOfMeasurement>
      <UpdateDate>2026-07-16T03:15:56.1221432+05:00</UpdateDate>
      <UpdatePerson_ID>7431633f-3aec-4ccf-886b-b8d3a309442e</UpdatePerson_ID>
      <VehicleService_ID>67bd6201-adf0-4149-85de-578b550651e4</VehicleService_ID>
      <dtE>2026-07-16T03:15:56.1221432+05:00</dtE>
      <dtS>2026-07-16T03:15:56.1221432+05:00</dtS>
    </SendForExpensM>
  </SendForExpens>
  <ServiceType_ID>3</ServiceType_ID>
  <Status>true</Status>
  <UpdatePerson_ID>a2a4d5dd-e60e-471e-9d99-71678fd0bd9d</UpdatePerson_ID>
  <Vehicle_ID>9feb8025-7afb-4b97-b69a-06839d627699</Vehicle_ID>
  <documents>
    <DocumentM>
      <createDate>2026-07-16T03:15:56.1221432+05:00</createDate>
      <documentType>1</documentType>
      <fileContent>QEA=</fileContent>
      <fileName>sample string 1</fileName>
      <fileType>sample string 2</fileType>
      <id>56a8af18-36e0-444d-af20-be2bbdc07b7a</id>
    </DocumentM>
    <DocumentM>
      <createDate>2026-07-16T03:15:56.1221432+05:00</createDate>
      <documentType>1</documentType>
      <fileContent>QEA=</fileContent>
      <fileName>sample string 1</fileName>
      <fileType>sample string 2</fileType>
      <id>56a8af18-36e0-444d-af20-be2bbdc07b7a</id>
    </DocumentM>
  </documents>
  <documentsForService>
    <DocumentM>
      <createDate>2026-07-16T03:15:56.1221432+05:00</createDate>
      <documentType>1</documentType>
      <fileContent>QEA=</fileContent>
      <fileName>sample string 1</fileName>
      <fileType>sample string 2</fileType>
      <id>56a8af18-36e0-444d-af20-be2bbdc07b7a</id>
    </DocumentM>
    <DocumentM>
      <createDate>2026-07-16T03:15:56.1221432+05:00</createDate>
      <documentType>1</documentType>
      <fileContent>QEA=</fileContent>
      <fileName>sample string 1</fileName>
      <fileType>sample string 2</fileType>
      <id>56a8af18-36e0-444d-af20-be2bbdc07b7a</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>