POST api/storageCards/InsertStorageCard
Inserts a new storagecard
Request Information
URI Parameters
None.
Body Parameters
StorageCardRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| StorageCardId |
Id of storageCard, |
globally unique identifier |
None. |
| BranchId |
Branch id see GET /api/Branches |
integer |
Required |
| VehicleClassificationId | globally unique identifier |
None. |
|
| StockPlaceStockId |
Stock id of the stock place |
globally unique identifier |
None. |
| StockPlaceId |
Id of the stock place |
integer |
None. |
| CustomerId |
Id of customer |
globally unique identifier |
None. |
| InvoiceCustomerId |
Invoice customer Id [Deprecated] |
globally unique identifier |
None. |
| DepartmentId |
Id of department see |
globally unique identifier |
None. |
| EquipmentSet |
Request for the equipment set (in storage) |
EquipmentSetRequest |
None. |
| PreviousEquipmentSet |
Request for equipment set (on vehicle) |
EquipmentSetRequest |
None. |
| Vehicle |
Request for the vehicle |
VehicleRequest |
None. |
| ContactID |
Contact id see GET api/Contacts/ |
globally unique identifier |
None. |
| DebitModelId |
Use api/DebitModels to get debit model info. |
globally unique identifier |
None. |
| RetainStockPlace |
Retains stock place |
boolean |
Required |
| IsGracePeriod |
Is grace period |
boolean |
Required |
| WheelLock |
Wheel lock |
string |
Max length: 50 |
| TPMS |
TPMS |
string |
Max length: 50 |
| DropLocation |
Drop location |
string |
Max length: 255 |
| WashedDate |
Washed date |
date |
None. |
| Wash |
Indicates if this storage card should be marked for wash |
boolean |
Required |
| Collect |
Indicated if this storage card should be marked for collect |
boolean |
Required |
| CollectDate |
Date of collection |
date |
None. |
| Return |
Indicates if the storage card should be marked for return |
boolean |
None. |
| ReturnDate |
Date of return |
date |
None. |
| ChangedByUserId |
Id of the user who updated the storage card, Optional |
globally unique identifier |
None. |
| ReturnGoodsRegisteredByUserId |
Optional, user id that registered the return. |
globally unique identifier |
None. |
| AlternativeSearchName |
Alt search name |
string |
Max length: 128 |
| DebitOrderId |
Id of the order that is connected to the storage card, Optional |
integer |
None. |
| DebitOrderSellerBranchId |
Orders branch id, optional |
integer |
None. |
| ExcludeFromPrePlanning |
Indicates if this storage card should be excluded when creating a pre planner |
boolean |
None. |
| LastChargeDate |
Date of last charge/debit |
date |
None. |
| BookedDate |
Date of booking |
date |
None. |
| DebitActive |
Indicates if this storage card should be debited if storage card debits are enabled. |
boolean |
None. |
| DebitArticlePackageHeadId |
If debit is active on the storage card and company tyrehotelsettings, this indicates which article package to use if any. |
globally unique identifier |
None. |
Remarks
None.
Example
None.
Request Formats
application/json, text/json
{
"StorageCardId": "588550a9-23a6-4648-b8c8-1f2b520d1bbd",
"BranchId": 1,
"VehicleClassificationId": "1033d518-988e-4924-b4fc-eaca13c12477",
"StockPlaceStockId": "e77db4c3-1f75-4b40-97bc-94a4ec408f2b",
"StockPlaceId": 1,
"CustomerId": "27ce787f-5f41-4702-9301-854400e8af23",
"InvoiceCustomerId": "e719216e-1ae3-40fd-b9ab-16a1f2862651",
"DepartmentId": "08743183-4b88-4bb0-aec5-9cbcc49759b1",
"EquipmentSet": {
"EquipmentSetId": "33b790c1-075f-4cf6-ae5a-136fd89b382d",
"BranchId": 1,
"SeasonId": 2,
"ExternalNote": "sample string 3",
"InternalNote": "sample string 4",
"InStorage": true,
"IsMissing": true,
"HasNoteChanged": true,
"Nitrogen": true,
"MissingDate": "12/21/2025 1:00:53 PM",
"MissingReasonId": 1,
"DebitModelId": "d7f61b49-15e1-4f6f-9aba-615a2ed59913",
"Equipments": [
{
"Id": "036f7590-6adc-4f15-9858-58941af70c5d",
"ContactId": "65d286f1-2bf9-41f1-bc1c-f21cfc88b376",
"CustomerId": "7705fba8-0e57-4fc3-9fe8-25e54ec739a4",
"EquipmentSetId": "7fe12117-9072-4278-aaf0-9bdccd37fb87",
"Position": 1,
"EquipmentRim": {
"Diameter": 1.0,
"BoltPattern": 1.0,
"CentreBore": 1.0,
"Offset": 1.0,
"Width": 1.0,
"Backspacing": 1.0,
"IsAlloy": true,
"IsOriginal": true
},
"EquipmentText": {
"Text": "sample string 1"
},
"EquipmentTyre": {
"SectionWidth": 1.0,
"AspectRatio": 1.0,
"RimDiameter": 1.0,
"LoadIndexId": 1,
"SpeedRating": "sample string 1",
"Circumference": 1.0,
"TreadPattern": "sample string 2",
"TreadDepth": 1.0,
"RecommendedPressure": 1.0,
"Pressure": 1.0,
"Make": "sample string 3",
"Studs": true,
"Hubcap": true
}
},
{
"Id": "036f7590-6adc-4f15-9858-58941af70c5d",
"ContactId": "65d286f1-2bf9-41f1-bc1c-f21cfc88b376",
"CustomerId": "7705fba8-0e57-4fc3-9fe8-25e54ec739a4",
"EquipmentSetId": "7fe12117-9072-4278-aaf0-9bdccd37fb87",
"Position": 1,
"EquipmentRim": {
"Diameter": 1.0,
"BoltPattern": 1.0,
"CentreBore": 1.0,
"Offset": 1.0,
"Width": 1.0,
"Backspacing": 1.0,
"IsAlloy": true,
"IsOriginal": true
},
"EquipmentText": {
"Text": "sample string 1"
},
"EquipmentTyre": {
"SectionWidth": 1.0,
"AspectRatio": 1.0,
"RimDiameter": 1.0,
"LoadIndexId": 1,
"SpeedRating": "sample string 1",
"Circumference": 1.0,
"TreadPattern": "sample string 2",
"TreadDepth": 1.0,
"RecommendedPressure": 1.0,
"Pressure": 1.0,
"Make": "sample string 3",
"Studs": true,
"Hubcap": true
}
}
]
},
"PreviousEquipmentSet": {
"EquipmentSetId": "33b790c1-075f-4cf6-ae5a-136fd89b382d",
"BranchId": 1,
"SeasonId": 2,
"ExternalNote": "sample string 3",
"InternalNote": "sample string 4",
"InStorage": true,
"IsMissing": true,
"HasNoteChanged": true,
"Nitrogen": true,
"MissingDate": "12/21/2025 1:00:53 PM",
"MissingReasonId": 1,
"DebitModelId": "d7f61b49-15e1-4f6f-9aba-615a2ed59913",
"Equipments": [
{
"Id": "036f7590-6adc-4f15-9858-58941af70c5d",
"ContactId": "65d286f1-2bf9-41f1-bc1c-f21cfc88b376",
"CustomerId": "7705fba8-0e57-4fc3-9fe8-25e54ec739a4",
"EquipmentSetId": "7fe12117-9072-4278-aaf0-9bdccd37fb87",
"Position": 1,
"EquipmentRim": {
"Diameter": 1.0,
"BoltPattern": 1.0,
"CentreBore": 1.0,
"Offset": 1.0,
"Width": 1.0,
"Backspacing": 1.0,
"IsAlloy": true,
"IsOriginal": true
},
"EquipmentText": {
"Text": "sample string 1"
},
"EquipmentTyre": {
"SectionWidth": 1.0,
"AspectRatio": 1.0,
"RimDiameter": 1.0,
"LoadIndexId": 1,
"SpeedRating": "sample string 1",
"Circumference": 1.0,
"TreadPattern": "sample string 2",
"TreadDepth": 1.0,
"RecommendedPressure": 1.0,
"Pressure": 1.0,
"Make": "sample string 3",
"Studs": true,
"Hubcap": true
}
},
{
"Id": "036f7590-6adc-4f15-9858-58941af70c5d",
"ContactId": "65d286f1-2bf9-41f1-bc1c-f21cfc88b376",
"CustomerId": "7705fba8-0e57-4fc3-9fe8-25e54ec739a4",
"EquipmentSetId": "7fe12117-9072-4278-aaf0-9bdccd37fb87",
"Position": 1,
"EquipmentRim": {
"Diameter": 1.0,
"BoltPattern": 1.0,
"CentreBore": 1.0,
"Offset": 1.0,
"Width": 1.0,
"Backspacing": 1.0,
"IsAlloy": true,
"IsOriginal": true
},
"EquipmentText": {
"Text": "sample string 1"
},
"EquipmentTyre": {
"SectionWidth": 1.0,
"AspectRatio": 1.0,
"RimDiameter": 1.0,
"LoadIndexId": 1,
"SpeedRating": "sample string 1",
"Circumference": 1.0,
"TreadPattern": "sample string 2",
"TreadDepth": 1.0,
"RecommendedPressure": 1.0,
"Pressure": 1.0,
"Make": "sample string 3",
"Studs": true,
"Hubcap": true
}
}
]
},
"Vehicle": {
"VehicleId": "3bfdd59f-df08-4216-8797-b6d78bc37eab",
"LicensePlate": "sample string 1",
"CustomerPlate": "sample string 2",
"VehicleIdentification": "sample string 3",
"EuNumber": "sample string 4",
"CustomerID": "8a0b02f7-5033-47e2-8e99-e54529201d23",
"ContactID": "bae8ccbc-dc42-4694-a933-46178d13b794",
"Make": "sample string 5",
"Model": "sample string 6",
"YearModel": "sample string 7",
"Colour": "sample string 8",
"VehicleTypeID": "ad961c03-71b1-486e-8e10-492afaba67ff",
"Odometer": 1,
"EnginePowerKw": 1.0,
"Weight": 1,
"TotalWeight": 1,
"MaxLoadWeight": 1,
"TrailerWeight": 1,
"NumberOfAxles": 1,
"Note": "sample string 9",
"TopSpeed": 1,
"EUVehicleCategory": "sample string 10",
"FrontAxleLoad": 1,
"ReartAxleLoad": 1,
"ModelCode": "sample string 11",
"BusClass": "sample string 12",
"VehicleTypeCode": "sample string 13",
"VehicleTypeClass": "sample string 14",
"GroupNumber": "sample string 15",
"TradeName": "sample string 16",
"ModelNumber": "sample string 17",
"EngineNumber": "sample string 18",
"VehicleYear": "sample string 19"
},
"ContactID": "3455e5d4-7161-441f-b832-9b8daf2991eb",
"DebitModelId": "680193cd-f136-4470-8328-aeace7f6f25f",
"RetainStockPlace": true,
"IsGracePeriod": true,
"WheelLock": "sample string 4",
"TPMS": "sample string 5",
"DropLocation": "sample string 6",
"WashedDate": "12/21/2025 1:00:53 PM",
"Wash": true,
"Collect": true,
"CollectDate": "12/21/2025 1:00:53 PM",
"Return": true,
"ReturnDate": "12/21/2025 1:00:53 PM",
"ChangedByUserId": "140a92bf-2f3e-44ba-9a91-5c2ae2c292d7",
"ReturnGoodsRegisteredByUserId": "f833ac0b-969e-4d1c-afec-080582c90a20",
"AlternativeSearchName": "sample string 10",
"DebitOrderId": 1,
"DebitOrderSellerBranchId": 1,
"ExcludeFromPrePlanning": true,
"LastChargeDate": "12/21/2025 1:00:53 PM",
"BookedDate": "12/21/2025 1:00:53 PM",
"DebitActive": true,
"DebitArticlePackageHeadId": "e6484dd1-1027-486b-8a51-9da5e22004af"
}
application/xml, text/xml
<StorageCardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.TyreHotel">
<AlternativeSearchName>sample string 10</AlternativeSearchName>
<BookedDate>2025-12-21T13:00:53.0826589+00:00</BookedDate>
<BranchId>1</BranchId>
<ChangedByUserId>140a92bf-2f3e-44ba-9a91-5c2ae2c292d7</ChangedByUserId>
<Collect>true</Collect>
<CollectDate>2025-12-21T13:00:53.0826589+00:00</CollectDate>
<ContactID>3455e5d4-7161-441f-b832-9b8daf2991eb</ContactID>
<CustomerId>27ce787f-5f41-4702-9301-854400e8af23</CustomerId>
<DebitActive>true</DebitActive>
<DebitArticlePackageHeadId>e6484dd1-1027-486b-8a51-9da5e22004af</DebitArticlePackageHeadId>
<DebitModelId>680193cd-f136-4470-8328-aeace7f6f25f</DebitModelId>
<DebitOrderId>1</DebitOrderId>
<DebitOrderSellerBranchId>1</DebitOrderSellerBranchId>
<DepartmentId>08743183-4b88-4bb0-aec5-9cbcc49759b1</DepartmentId>
<DropLocation>sample string 6</DropLocation>
<EquipmentSet>
<BranchId>1</BranchId>
<DebitModelId>d7f61b49-15e1-4f6f-9aba-615a2ed59913</DebitModelId>
<EquipmentSetId>33b790c1-075f-4cf6-ae5a-136fd89b382d</EquipmentSetId>
<Equipments>
<EquipmentRequest>
<ContactId>65d286f1-2bf9-41f1-bc1c-f21cfc88b376</ContactId>
<CustomerId>7705fba8-0e57-4fc3-9fe8-25e54ec739a4</CustomerId>
<EquipmentRim>
<Backspacing>1</Backspacing>
<BoltPattern>1</BoltPattern>
<CentreBore>1</CentreBore>
<Diameter>1</Diameter>
<IsAlloy>true</IsAlloy>
<IsOriginal>true</IsOriginal>
<Offset>1</Offset>
<Width>1</Width>
</EquipmentRim>
<EquipmentSetId>7fe12117-9072-4278-aaf0-9bdccd37fb87</EquipmentSetId>
<EquipmentText>
<Text>sample string 1</Text>
</EquipmentText>
<EquipmentTyre>
<AspectRatio>1</AspectRatio>
<Circumference>1</Circumference>
<Hubcap>true</Hubcap>
<LoadIndexId>1</LoadIndexId>
<Make>sample string 3</Make>
<Pressure>1</Pressure>
<RecommendedPressure>1</RecommendedPressure>
<RimDiameter>1</RimDiameter>
<SectionWidth>1</SectionWidth>
<SpeedRating>sample string 1</SpeedRating>
<Studs>true</Studs>
<TreadDepth>1</TreadDepth>
<TreadPattern>sample string 2</TreadPattern>
</EquipmentTyre>
<Id>036f7590-6adc-4f15-9858-58941af70c5d</Id>
<Position>1</Position>
</EquipmentRequest>
<EquipmentRequest>
<ContactId>65d286f1-2bf9-41f1-bc1c-f21cfc88b376</ContactId>
<CustomerId>7705fba8-0e57-4fc3-9fe8-25e54ec739a4</CustomerId>
<EquipmentRim>
<Backspacing>1</Backspacing>
<BoltPattern>1</BoltPattern>
<CentreBore>1</CentreBore>
<Diameter>1</Diameter>
<IsAlloy>true</IsAlloy>
<IsOriginal>true</IsOriginal>
<Offset>1</Offset>
<Width>1</Width>
</EquipmentRim>
<EquipmentSetId>7fe12117-9072-4278-aaf0-9bdccd37fb87</EquipmentSetId>
<EquipmentText>
<Text>sample string 1</Text>
</EquipmentText>
<EquipmentTyre>
<AspectRatio>1</AspectRatio>
<Circumference>1</Circumference>
<Hubcap>true</Hubcap>
<LoadIndexId>1</LoadIndexId>
<Make>sample string 3</Make>
<Pressure>1</Pressure>
<RecommendedPressure>1</RecommendedPressure>
<RimDiameter>1</RimDiameter>
<SectionWidth>1</SectionWidth>
<SpeedRating>sample string 1</SpeedRating>
<Studs>true</Studs>
<TreadDepth>1</TreadDepth>
<TreadPattern>sample string 2</TreadPattern>
</EquipmentTyre>
<Id>036f7590-6adc-4f15-9858-58941af70c5d</Id>
<Position>1</Position>
</EquipmentRequest>
</Equipments>
<ExternalNote>sample string 3</ExternalNote>
<HasNoteChanged>true</HasNoteChanged>
<InStorage>true</InStorage>
<InternalNote>sample string 4</InternalNote>
<IsMissing>true</IsMissing>
<MissingDate>2025-12-21T13:00:53.0669863+00:00</MissingDate>
<MissingReasonId>1</MissingReasonId>
<Nitrogen>true</Nitrogen>
<SeasonId>2</SeasonId>
</EquipmentSet>
<ExcludeFromPrePlanning>true</ExcludeFromPrePlanning>
<InvoiceCustomerId>e719216e-1ae3-40fd-b9ab-16a1f2862651</InvoiceCustomerId>
<IsGracePeriod>true</IsGracePeriod>
<LastChargeDate>2025-12-21T13:00:53.0826589+00:00</LastChargeDate>
<PreviousEquipmentSet>
<BranchId>1</BranchId>
<DebitModelId>d7f61b49-15e1-4f6f-9aba-615a2ed59913</DebitModelId>
<EquipmentSetId>33b790c1-075f-4cf6-ae5a-136fd89b382d</EquipmentSetId>
<Equipments>
<EquipmentRequest>
<ContactId>65d286f1-2bf9-41f1-bc1c-f21cfc88b376</ContactId>
<CustomerId>7705fba8-0e57-4fc3-9fe8-25e54ec739a4</CustomerId>
<EquipmentRim>
<Backspacing>1</Backspacing>
<BoltPattern>1</BoltPattern>
<CentreBore>1</CentreBore>
<Diameter>1</Diameter>
<IsAlloy>true</IsAlloy>
<IsOriginal>true</IsOriginal>
<Offset>1</Offset>
<Width>1</Width>
</EquipmentRim>
<EquipmentSetId>7fe12117-9072-4278-aaf0-9bdccd37fb87</EquipmentSetId>
<EquipmentText>
<Text>sample string 1</Text>
</EquipmentText>
<EquipmentTyre>
<AspectRatio>1</AspectRatio>
<Circumference>1</Circumference>
<Hubcap>true</Hubcap>
<LoadIndexId>1</LoadIndexId>
<Make>sample string 3</Make>
<Pressure>1</Pressure>
<RecommendedPressure>1</RecommendedPressure>
<RimDiameter>1</RimDiameter>
<SectionWidth>1</SectionWidth>
<SpeedRating>sample string 1</SpeedRating>
<Studs>true</Studs>
<TreadDepth>1</TreadDepth>
<TreadPattern>sample string 2</TreadPattern>
</EquipmentTyre>
<Id>036f7590-6adc-4f15-9858-58941af70c5d</Id>
<Position>1</Position>
</EquipmentRequest>
<EquipmentRequest>
<ContactId>65d286f1-2bf9-41f1-bc1c-f21cfc88b376</ContactId>
<CustomerId>7705fba8-0e57-4fc3-9fe8-25e54ec739a4</CustomerId>
<EquipmentRim>
<Backspacing>1</Backspacing>
<BoltPattern>1</BoltPattern>
<CentreBore>1</CentreBore>
<Diameter>1</Diameter>
<IsAlloy>true</IsAlloy>
<IsOriginal>true</IsOriginal>
<Offset>1</Offset>
<Width>1</Width>
</EquipmentRim>
<EquipmentSetId>7fe12117-9072-4278-aaf0-9bdccd37fb87</EquipmentSetId>
<EquipmentText>
<Text>sample string 1</Text>
</EquipmentText>
<EquipmentTyre>
<AspectRatio>1</AspectRatio>
<Circumference>1</Circumference>
<Hubcap>true</Hubcap>
<LoadIndexId>1</LoadIndexId>
<Make>sample string 3</Make>
<Pressure>1</Pressure>
<RecommendedPressure>1</RecommendedPressure>
<RimDiameter>1</RimDiameter>
<SectionWidth>1</SectionWidth>
<SpeedRating>sample string 1</SpeedRating>
<Studs>true</Studs>
<TreadDepth>1</TreadDepth>
<TreadPattern>sample string 2</TreadPattern>
</EquipmentTyre>
<Id>036f7590-6adc-4f15-9858-58941af70c5d</Id>
<Position>1</Position>
</EquipmentRequest>
</Equipments>
<ExternalNote>sample string 3</ExternalNote>
<HasNoteChanged>true</HasNoteChanged>
<InStorage>true</InStorage>
<InternalNote>sample string 4</InternalNote>
<IsMissing>true</IsMissing>
<MissingDate>2025-12-21T13:00:53.0669863+00:00</MissingDate>
<MissingReasonId>1</MissingReasonId>
<Nitrogen>true</Nitrogen>
<SeasonId>2</SeasonId>
</PreviousEquipmentSet>
<RetainStockPlace>true</RetainStockPlace>
<Return>true</Return>
<ReturnDate>2025-12-21T13:00:53.0826589+00:00</ReturnDate>
<ReturnGoodsRegisteredByUserId>f833ac0b-969e-4d1c-afec-080582c90a20</ReturnGoodsRegisteredByUserId>
<StockPlaceId>1</StockPlaceId>
<StockPlaceStockId>e77db4c3-1f75-4b40-97bc-94a4ec408f2b</StockPlaceStockId>
<StorageCardId>588550a9-23a6-4648-b8c8-1f2b520d1bbd</StorageCardId>
<TPMS>sample string 5</TPMS>
<Vehicle>
<BusClass>sample string 12</BusClass>
<Colour>sample string 8</Colour>
<ContactID>bae8ccbc-dc42-4694-a933-46178d13b794</ContactID>
<CustomerID>8a0b02f7-5033-47e2-8e99-e54529201d23</CustomerID>
<CustomerPlate>sample string 2</CustomerPlate>
<EUVehicleCategory>sample string 10</EUVehicleCategory>
<EngineNumber>sample string 18</EngineNumber>
<EnginePowerKw>1</EnginePowerKw>
<EuNumber>sample string 4</EuNumber>
<FrontAxleLoad>1</FrontAxleLoad>
<GroupNumber>sample string 15</GroupNumber>
<LicensePlate>sample string 1</LicensePlate>
<Make>sample string 5</Make>
<MaxLoadWeight>1</MaxLoadWeight>
<Model>sample string 6</Model>
<ModelCode>sample string 11</ModelCode>
<ModelNumber>sample string 17</ModelNumber>
<Note>sample string 9</Note>
<NumberOfAxles>1</NumberOfAxles>
<Odometer>1</Odometer>
<ReartAxleLoad>1</ReartAxleLoad>
<TopSpeed>1</TopSpeed>
<TotalWeight>1</TotalWeight>
<TradeName>sample string 16</TradeName>
<TrailerWeight>1</TrailerWeight>
<VehicleId>3bfdd59f-df08-4216-8797-b6d78bc37eab</VehicleId>
<VehicleIdentification>sample string 3</VehicleIdentification>
<VehicleTypeClass>sample string 14</VehicleTypeClass>
<VehicleTypeCode>sample string 13</VehicleTypeCode>
<VehicleTypeID>ad961c03-71b1-486e-8e10-492afaba67ff</VehicleTypeID>
<VehicleYear>sample string 19</VehicleYear>
<Weight>1</Weight>
<YearModel>sample string 7</YearModel>
</Vehicle>
<VehicleClassificationId>1033d518-988e-4924-b4fc-eaca13c12477</VehicleClassificationId>
<Wash>true</Wash>
<WashedDate>2025-12-21T13:00:53.0826589+00:00</WashedDate>
<WheelLock>sample string 4</WheelLock>
</StorageCardRequest>
application/x-www-form-urlencoded
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.