POST api/tirescanv2/connect

Connects a storage card with a tire scan

Request Information

URI Parameters

None.

Body Parameters

A TireScanConnectionRequestModel

TireScanConnectionRequestModel
NameDescriptionTypeAdditional information
tireScanId

globally unique identifier

Required

storageCardId

globally unique identifier

Required

seasonId

integer

Required

Remarks

None.

Example

//Adds the specified tire scan. A tire scan object is needed in JSON format in the body of the request.
http://localhost/api/tirescan/connect

Request Formats

application/json, text/json

Sample:
{
  "tireScanId": "764c3211-e88c-470e-9b73-a1fa82a2db0d",
  "storageCardId": "a5af0ba8-55bc-4ce3-b391-fa0ecd7d5eea",
  "seasonId": 3
}

application/xml, text/xml

Sample:
<TireScanConnectionRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.TireScan.V2">
  <_x003C_SeasonId_x003E_k__BackingField>3</_x003C_SeasonId_x003E_k__BackingField>
  <_x003C_StorageCardId_x003E_k__BackingField>a5af0ba8-55bc-4ce3-b391-fa0ecd7d5eea</_x003C_StorageCardId_x003E_k__BackingField>
  <_x003C_TireScanId_x003E_k__BackingField>764c3211-e88c-470e-9b73-a1fa82a2db0d</_x003C_TireScanId_x003E_k__BackingField>
</TireScanConnectionRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TireScanConnectionRequestModel'.

Response Information

Resource Description

a TireScanConnectionResultModel

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.