POST api/tirescanv2/connect
Connects a storage card with a tire scan
Request Information
URI Parameters
None.
Body Parameters
A TireScanConnectionRequestModel
TireScanConnectionRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| tireScanId | globally unique identifier |
Required |
|
| storageCardId | globally unique identifier |
Required |
|
| seasonId | integer |
Required |
|
| sendMeasurementData | boolean |
None. |
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": "5b2dffff-f1c5-4424-8c87-88130a1f87df",
"storageCardId": "03365911-9c3f-4cab-a1ce-147d794086fe",
"seasonId": 3,
"sendMeasurementData": true
}
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_SendMeasurementData_x003E_k__BackingField>true</_x003C_SendMeasurementData_x003E_k__BackingField> <_x003C_StorageCardId_x003E_k__BackingField>03365911-9c3f-4cab-a1ce-147d794086fe</_x003C_StorageCardId_x003E_k__BackingField> <_x003C_TireScanId_x003E_k__BackingField>5b2dffff-f1c5-4424-8c87-88130a1f87df</_x003C_TireScanId_x003E_k__BackingField> </TireScanConnectionRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
a TireScanConnectionResultModel
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.