POST apiwba/gps/createlinkshare

Request Information

URI Parameters

None.

Body Parameters

SaveShareVehicleI
NameDescriptionTypeAdditional information
ShareType

byte

None.

ExpiredDate

date

None.

FromDate

date

None.

ToDate

date

None.

VehiclePlates

Collection of string

None.

CustomerCode

string

None.

Key

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ShareType": 64,
  "ExpiredDate": "2026-04-04T18:10:47.3090733+07:00",
  "FromDate": "2026-04-04T18:10:47.3090733+07:00",
  "ToDate": "2026-04-04T18:10:47.3090733+07:00",
  "VehiclePlates": [
    "sample string 1",
    "sample string 2"
  ],
  "CustomerCode": "sample string 5",
  "Key": "sample string 6"
}

application/xml, text/xml

Sample:
<SaveShareVehicleI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model.Gps">
  <CustomerCode xmlns="http://schemas.datacontract.org/2004/07/API.Model">sample string 5</CustomerCode>
  <Key xmlns="http://schemas.datacontract.org/2004/07/API.Model">sample string 6</Key>
  <FromDate>2026-04-04T18:10:47.3090733+07:00</FromDate>
  <ToDate>2026-04-04T18:10:47.3090733+07:00</ToDate>
  <VehiclePlates xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </VehiclePlates>
  <ExpiredDate>2026-04-04T18:10:47.3090733+07:00</ExpiredDate>
  <ShareType>64</ShareType>
</SaveShareVehicleI>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SaveShareVehicleO
NameDescriptionTypeAdditional information
Link

string

None.

IsSuccess

boolean

None.

Description

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Link": "sample string 1",
  "IsSuccess": true,
  "Description": "sample string 3"
}

application/xml, text/xml

Sample:
<SaveShareVehicleO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model.Gps">
  <Description>sample string 3</Description>
  <IsSuccess>true</IsSuccess>
  <Link>sample string 1</Link>
</SaveShareVehicleO>