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": "1eaf5848-a220-4f88-bcdc-ba11db7fe4fd",
"BranchId": 1,
"VehicleClassificationId": "646087a2-4405-4910-9d78-76e3ed2abbc1",
"StockPlaceStockId": "69b23bba-b17b-42ff-89d6-3e13fb16c769",
"StockPlaceId": 1,
"CustomerId": "11ee155b-a842-4835-9435-c3e94e65292e",
"InvoiceCustomerId": "f4e218c5-ea89-449f-ad34-ee872c0092c3",
"DepartmentId": "d6e36a29-a4db-4f7d-9f5f-95dacf2cb566",
"EquipmentSet": {
"EquipmentSetId": "9a556f7e-8e4f-4379-8209-8c3cee8f64b1",
"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:01:52 PM",
"MissingReasonId": 1,
"DebitModelId": "a83e7428-607a-4b35-bc19-2bb0c4ff4366",
"Equipments": [
{
"Id": "7d4b23cd-5ac5-49a9-88c3-b8b9663aa474",
"ContactId": "127894d1-e864-4dca-bfcc-8e4367c66050",
"CustomerId": "43711479-84cb-4c82-a09f-63186c9595c9",
"EquipmentSetId": "17371ffb-e6a8-450d-bcce-75ad66713ad6",
"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": "7d4b23cd-5ac5-49a9-88c3-b8b9663aa474",
"ContactId": "127894d1-e864-4dca-bfcc-8e4367c66050",
"CustomerId": "43711479-84cb-4c82-a09f-63186c9595c9",
"EquipmentSetId": "17371ffb-e6a8-450d-bcce-75ad66713ad6",
"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": "9a556f7e-8e4f-4379-8209-8c3cee8f64b1",
"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:01:52 PM",
"MissingReasonId": 1,
"DebitModelId": "a83e7428-607a-4b35-bc19-2bb0c4ff4366",
"Equipments": [
{
"Id": "7d4b23cd-5ac5-49a9-88c3-b8b9663aa474",
"ContactId": "127894d1-e864-4dca-bfcc-8e4367c66050",
"CustomerId": "43711479-84cb-4c82-a09f-63186c9595c9",
"EquipmentSetId": "17371ffb-e6a8-450d-bcce-75ad66713ad6",
"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": "7d4b23cd-5ac5-49a9-88c3-b8b9663aa474",
"ContactId": "127894d1-e864-4dca-bfcc-8e4367c66050",
"CustomerId": "43711479-84cb-4c82-a09f-63186c9595c9",
"EquipmentSetId": "17371ffb-e6a8-450d-bcce-75ad66713ad6",
"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": "52fe5d57-b4fb-44ad-8642-7f6fe0958ab8",
"LicensePlate": "sample string 1",
"CustomerPlate": "sample string 2",
"VehicleIdentification": "sample string 3",
"EuNumber": "sample string 4",
"CustomerID": "727959ae-f019-4ef1-b29f-55c3dd6e1482",
"ContactID": "54cc27ee-2290-4af7-bb11-176507224958",
"Make": "sample string 5",
"Model": "sample string 6",
"YearModel": "sample string 7",
"Colour": "sample string 8",
"VehicleTypeID": "a26507f4-0629-41bf-bf27-5acc570048e5",
"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": "2cbbce22-1286-4825-bb37-912582a96e2e",
"DebitModelId": "808d1238-df77-48e5-ab59-c38b8b77a1d2",
"RetainStockPlace": true,
"IsGracePeriod": true,
"WheelLock": "sample string 4",
"TPMS": "sample string 5",
"DropLocation": "sample string 6",
"WashedDate": "12/21/2025 1:01:52 PM",
"Wash": true,
"Collect": true,
"CollectDate": "12/21/2025 1:01:52 PM",
"Return": true,
"ReturnDate": "12/21/2025 1:01:52 PM",
"ChangedByUserId": "c1ebc4ac-b326-4c39-9e75-e2838a38f352",
"ReturnGoodsRegisteredByUserId": "2968288e-804b-4174-b4bf-d6fa351235c5",
"AlternativeSearchName": "sample string 10",
"DebitOrderId": 1,
"DebitOrderSellerBranchId": 1,
"ExcludeFromPrePlanning": true,
"LastChargeDate": "12/21/2025 1:01:52 PM",
"BookedDate": "12/21/2025 1:01:52 PM",
"DebitActive": true,
"DebitArticlePackageHeadId": "ad0a3be1-070f-4e75-b7bb-26613e2fab03"
}
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:01:52.6984721+00:00</BookedDate>
<BranchId>1</BranchId>
<ChangedByUserId>c1ebc4ac-b326-4c39-9e75-e2838a38f352</ChangedByUserId>
<Collect>true</Collect>
<CollectDate>2025-12-21T13:01:52.6984721+00:00</CollectDate>
<ContactID>2cbbce22-1286-4825-bb37-912582a96e2e</ContactID>
<CustomerId>11ee155b-a842-4835-9435-c3e94e65292e</CustomerId>
<DebitActive>true</DebitActive>
<DebitArticlePackageHeadId>ad0a3be1-070f-4e75-b7bb-26613e2fab03</DebitArticlePackageHeadId>
<DebitModelId>808d1238-df77-48e5-ab59-c38b8b77a1d2</DebitModelId>
<DebitOrderId>1</DebitOrderId>
<DebitOrderSellerBranchId>1</DebitOrderSellerBranchId>
<DepartmentId>d6e36a29-a4db-4f7d-9f5f-95dacf2cb566</DepartmentId>
<DropLocation>sample string 6</DropLocation>
<EquipmentSet>
<BranchId>1</BranchId>
<DebitModelId>a83e7428-607a-4b35-bc19-2bb0c4ff4366</DebitModelId>
<EquipmentSetId>9a556f7e-8e4f-4379-8209-8c3cee8f64b1</EquipmentSetId>
<Equipments>
<EquipmentRequest>
<ContactId>127894d1-e864-4dca-bfcc-8e4367c66050</ContactId>
<CustomerId>43711479-84cb-4c82-a09f-63186c9595c9</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>17371ffb-e6a8-450d-bcce-75ad66713ad6</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>7d4b23cd-5ac5-49a9-88c3-b8b9663aa474</Id>
<Position>1</Position>
</EquipmentRequest>
<EquipmentRequest>
<ContactId>127894d1-e864-4dca-bfcc-8e4367c66050</ContactId>
<CustomerId>43711479-84cb-4c82-a09f-63186c9595c9</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>17371ffb-e6a8-450d-bcce-75ad66713ad6</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>7d4b23cd-5ac5-49a9-88c3-b8b9663aa474</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:01:52.6984721+00:00</MissingDate>
<MissingReasonId>1</MissingReasonId>
<Nitrogen>true</Nitrogen>
<SeasonId>2</SeasonId>
</EquipmentSet>
<ExcludeFromPrePlanning>true</ExcludeFromPrePlanning>
<InvoiceCustomerId>f4e218c5-ea89-449f-ad34-ee872c0092c3</InvoiceCustomerId>
<IsGracePeriod>true</IsGracePeriod>
<LastChargeDate>2025-12-21T13:01:52.6984721+00:00</LastChargeDate>
<PreviousEquipmentSet>
<BranchId>1</BranchId>
<DebitModelId>a83e7428-607a-4b35-bc19-2bb0c4ff4366</DebitModelId>
<EquipmentSetId>9a556f7e-8e4f-4379-8209-8c3cee8f64b1</EquipmentSetId>
<Equipments>
<EquipmentRequest>
<ContactId>127894d1-e864-4dca-bfcc-8e4367c66050</ContactId>
<CustomerId>43711479-84cb-4c82-a09f-63186c9595c9</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>17371ffb-e6a8-450d-bcce-75ad66713ad6</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>7d4b23cd-5ac5-49a9-88c3-b8b9663aa474</Id>
<Position>1</Position>
</EquipmentRequest>
<EquipmentRequest>
<ContactId>127894d1-e864-4dca-bfcc-8e4367c66050</ContactId>
<CustomerId>43711479-84cb-4c82-a09f-63186c9595c9</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>17371ffb-e6a8-450d-bcce-75ad66713ad6</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>7d4b23cd-5ac5-49a9-88c3-b8b9663aa474</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:01:52.6984721+00:00</MissingDate>
<MissingReasonId>1</MissingReasonId>
<Nitrogen>true</Nitrogen>
<SeasonId>2</SeasonId>
</PreviousEquipmentSet>
<RetainStockPlace>true</RetainStockPlace>
<Return>true</Return>
<ReturnDate>2025-12-21T13:01:52.6984721+00:00</ReturnDate>
<ReturnGoodsRegisteredByUserId>2968288e-804b-4174-b4bf-d6fa351235c5</ReturnGoodsRegisteredByUserId>
<StockPlaceId>1</StockPlaceId>
<StockPlaceStockId>69b23bba-b17b-42ff-89d6-3e13fb16c769</StockPlaceStockId>
<StorageCardId>1eaf5848-a220-4f88-bcdc-ba11db7fe4fd</StorageCardId>
<TPMS>sample string 5</TPMS>
<Vehicle>
<BusClass>sample string 12</BusClass>
<Colour>sample string 8</Colour>
<ContactID>54cc27ee-2290-4af7-bb11-176507224958</ContactID>
<CustomerID>727959ae-f019-4ef1-b29f-55c3dd6e1482</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>52fe5d57-b4fb-44ad-8642-7f6fe0958ab8</VehicleId>
<VehicleIdentification>sample string 3</VehicleIdentification>
<VehicleTypeClass>sample string 14</VehicleTypeClass>
<VehicleTypeCode>sample string 13</VehicleTypeCode>
<VehicleTypeID>a26507f4-0629-41bf-bf27-5acc570048e5</VehicleTypeID>
<VehicleYear>sample string 19</VehicleYear>
<Weight>1</Weight>
<YearModel>sample string 7</YearModel>
</Vehicle>
<VehicleClassificationId>646087a2-4405-4910-9d78-76e3ed2abbc1</VehicleClassificationId>
<Wash>true</Wash>
<WashedDate>2025-12-21T13:01:52.6984721+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.