POST api/VehicleProjects
Request Information
URI Parameters
None.
Body Parameters
cVehicleProjectsName | Description | Type | Additional information |
---|---|---|---|
VehicleProjectInfo | cVehicleProjectInfo |
None. |
|
VehicleProjectsList | Collection of cVehicleProjectInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "VehicleProjectInfo": { "Id": 1, "ProjectId": "sample string 1", "ProjectDescription": "sample string 2", "CompanyId": 3, "Factor": 1.1, "CreatedDate": "2025-04-27T19:59:14.1503038+00:00", "UpdatedDate": "2025-04-27T19:59:14.1503038+00:00", "Updated": true, "UserName": "sample string 4", "HostName": "sample string 5", "IpAddress": "sample string 6", "AppName": "sample string 7", "Audit": true, "Active": true, "DateTimeAudit": "2025-04-27T19:59:14.1503038+00:00", "TypeCode": 1, "CarType": "sample string 8" }, "VehicleProjectsList": [ { "Id": 1, "ProjectId": "sample string 1", "ProjectDescription": "sample string 2", "CompanyId": 3, "Factor": 1.1, "CreatedDate": "2025-04-27T19:59:14.1503038+00:00", "UpdatedDate": "2025-04-27T19:59:14.1503038+00:00", "Updated": true, "UserName": "sample string 4", "HostName": "sample string 5", "IpAddress": "sample string 6", "AppName": "sample string 7", "Audit": true, "Active": true, "DateTimeAudit": "2025-04-27T19:59:14.1503038+00:00", "TypeCode": 1, "CarType": "sample string 8" }, { "Id": 1, "ProjectId": "sample string 1", "ProjectDescription": "sample string 2", "CompanyId": 3, "Factor": 1.1, "CreatedDate": "2025-04-27T19:59:14.1503038+00:00", "UpdatedDate": "2025-04-27T19:59:14.1503038+00:00", "Updated": true, "UserName": "sample string 4", "HostName": "sample string 5", "IpAddress": "sample string 6", "AppName": "sample string 7", "Audit": true, "Active": true, "DateTimeAudit": "2025-04-27T19:59:14.1503038+00:00", "TypeCode": 1, "CarType": "sample string 8" } ] }
application/xml, text/xml
Sample:
<cVehicleProjects xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetSAPAPI.Models"> <VehicleProjectInfo> <Active>true</Active> <AppName>sample string 7</AppName> <Audit>true</Audit> <CarType>sample string 8</CarType> <CompanyId>3</CompanyId> <CreatedDate>2025-04-27T19:59:14.1503038+00:00</CreatedDate> <DateTimeAudit>2025-04-27T19:59:14.1503038+00:00</DateTimeAudit> <Factor>1.1</Factor> <HostName>sample string 5</HostName> <Id>1</Id> <IpAddress>sample string 6</IpAddress> <ProjectDescription>sample string 2</ProjectDescription> <ProjectId>sample string 1</ProjectId> <TypeCode>1</TypeCode> <Updated>true</Updated> <UpdatedDate>2025-04-27T19:59:14.1503038+00:00</UpdatedDate> <UserName>sample string 4</UserName> </VehicleProjectInfo> <VehicleProjectsList> <cVehicleProjectInfo> <Active>true</Active> <AppName>sample string 7</AppName> <Audit>true</Audit> <CarType>sample string 8</CarType> <CompanyId>3</CompanyId> <CreatedDate>2025-04-27T19:59:14.1503038+00:00</CreatedDate> <DateTimeAudit>2025-04-27T19:59:14.1503038+00:00</DateTimeAudit> <Factor>1.1</Factor> <HostName>sample string 5</HostName> <Id>1</Id> <IpAddress>sample string 6</IpAddress> <ProjectDescription>sample string 2</ProjectDescription> <ProjectId>sample string 1</ProjectId> <TypeCode>1</TypeCode> <Updated>true</Updated> <UpdatedDate>2025-04-27T19:59:14.1503038+00:00</UpdatedDate> <UserName>sample string 4</UserName> </cVehicleProjectInfo> <cVehicleProjectInfo> <Active>true</Active> <AppName>sample string 7</AppName> <Audit>true</Audit> <CarType>sample string 8</CarType> <CompanyId>3</CompanyId> <CreatedDate>2025-04-27T19:59:14.1503038+00:00</CreatedDate> <DateTimeAudit>2025-04-27T19:59:14.1503038+00:00</DateTimeAudit> <Factor>1.1</Factor> <HostName>sample string 5</HostName> <Id>1</Id> <IpAddress>sample string 6</IpAddress> <ProjectDescription>sample string 2</ProjectDescription> <ProjectId>sample string 1</ProjectId> <TypeCode>1</TypeCode> <Updated>true</Updated> <UpdatedDate>2025-04-27T19:59:14.1503038+00:00</UpdatedDate> <UserName>sample string 4</UserName> </cVehicleProjectInfo> </VehicleProjectsList> </cVehicleProjects>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
cVehicleProjectsName | Description | Type | Additional information |
---|---|---|---|
VehicleProjectInfo | cVehicleProjectInfo |
None. |
|
VehicleProjectsList | Collection of cVehicleProjectInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "VehicleProjectInfo": { "Id": 1, "ProjectId": "sample string 1", "ProjectDescription": "sample string 2", "CompanyId": 3, "Factor": 1.1, "CreatedDate": "2025-04-27T19:59:14.1659285+00:00", "UpdatedDate": "2025-04-27T19:59:14.1659285+00:00", "Updated": true, "UserName": "sample string 4", "HostName": "sample string 5", "IpAddress": "sample string 6", "AppName": "sample string 7", "Audit": true, "Active": true, "DateTimeAudit": "2025-04-27T19:59:14.1659285+00:00", "TypeCode": 1, "CarType": "sample string 8" }, "VehicleProjectsList": [ { "Id": 1, "ProjectId": "sample string 1", "ProjectDescription": "sample string 2", "CompanyId": 3, "Factor": 1.1, "CreatedDate": "2025-04-27T19:59:14.1659285+00:00", "UpdatedDate": "2025-04-27T19:59:14.1659285+00:00", "Updated": true, "UserName": "sample string 4", "HostName": "sample string 5", "IpAddress": "sample string 6", "AppName": "sample string 7", "Audit": true, "Active": true, "DateTimeAudit": "2025-04-27T19:59:14.1659285+00:00", "TypeCode": 1, "CarType": "sample string 8" }, { "Id": 1, "ProjectId": "sample string 1", "ProjectDescription": "sample string 2", "CompanyId": 3, "Factor": 1.1, "CreatedDate": "2025-04-27T19:59:14.1659285+00:00", "UpdatedDate": "2025-04-27T19:59:14.1659285+00:00", "Updated": true, "UserName": "sample string 4", "HostName": "sample string 5", "IpAddress": "sample string 6", "AppName": "sample string 7", "Audit": true, "Active": true, "DateTimeAudit": "2025-04-27T19:59:14.1659285+00:00", "TypeCode": 1, "CarType": "sample string 8" } ] }
application/xml, text/xml
Sample:
<cVehicleProjects xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetSAPAPI.Models"> <VehicleProjectInfo> <Active>true</Active> <AppName>sample string 7</AppName> <Audit>true</Audit> <CarType>sample string 8</CarType> <CompanyId>3</CompanyId> <CreatedDate>2025-04-27T19:59:14.1659285+00:00</CreatedDate> <DateTimeAudit>2025-04-27T19:59:14.1659285+00:00</DateTimeAudit> <Factor>1.1</Factor> <HostName>sample string 5</HostName> <Id>1</Id> <IpAddress>sample string 6</IpAddress> <ProjectDescription>sample string 2</ProjectDescription> <ProjectId>sample string 1</ProjectId> <TypeCode>1</TypeCode> <Updated>true</Updated> <UpdatedDate>2025-04-27T19:59:14.1659285+00:00</UpdatedDate> <UserName>sample string 4</UserName> </VehicleProjectInfo> <VehicleProjectsList> <cVehicleProjectInfo> <Active>true</Active> <AppName>sample string 7</AppName> <Audit>true</Audit> <CarType>sample string 8</CarType> <CompanyId>3</CompanyId> <CreatedDate>2025-04-27T19:59:14.1659285+00:00</CreatedDate> <DateTimeAudit>2025-04-27T19:59:14.1659285+00:00</DateTimeAudit> <Factor>1.1</Factor> <HostName>sample string 5</HostName> <Id>1</Id> <IpAddress>sample string 6</IpAddress> <ProjectDescription>sample string 2</ProjectDescription> <ProjectId>sample string 1</ProjectId> <TypeCode>1</TypeCode> <Updated>true</Updated> <UpdatedDate>2025-04-27T19:59:14.1659285+00:00</UpdatedDate> <UserName>sample string 4</UserName> </cVehicleProjectInfo> <cVehicleProjectInfo> <Active>true</Active> <AppName>sample string 7</AppName> <Audit>true</Audit> <CarType>sample string 8</CarType> <CompanyId>3</CompanyId> <CreatedDate>2025-04-27T19:59:14.1659285+00:00</CreatedDate> <DateTimeAudit>2025-04-27T19:59:14.1659285+00:00</DateTimeAudit> <Factor>1.1</Factor> <HostName>sample string 5</HostName> <Id>1</Id> <IpAddress>sample string 6</IpAddress> <ProjectDescription>sample string 2</ProjectDescription> <ProjectId>sample string 1</ProjectId> <TypeCode>1</TypeCode> <Updated>true</Updated> <UpdatedDate>2025-04-27T19:59:14.1659285+00:00</UpdatedDate> <UserName>sample string 4</UserName> </cVehicleProjectInfo> </VehicleProjectsList> </cVehicleProjects>