PUT api/storageCards/UpdateEquipmentSet

Updates an existing equipmentset

Request Information

URI Parameters

None.

Body Parameters

EquipmentSetRequest
NameDescriptionTypeAdditional information
EquipmentSetId

globally unique identifier

None.

BranchId

integer

Required

SeasonId

integer

Required

ExternalNote

string

Max length: 4000

InternalNote

string

Max length: 4000

InStorage

boolean

Required

IsMissing

boolean

Required

HasNoteChanged

boolean

Required

Nitrogen

boolean

Required

MissingDate

date

None.

MissingReasonId

integer

None.

DebitModelId

globally unique identifier

None.

Equipments

Collection of EquipmentRequest

None.

Remarks

None.

Example

None.

Request Formats

application/json, text/json

Sample:
{
  "EquipmentSetId": "db4b01ab-788e-49d0-adc2-0ae8e178daed",
  "BranchId": 1,
  "SeasonId": 2,
  "ExternalNote": "sample string 3",
  "InternalNote": "sample string 4",
  "InStorage": true,
  "IsMissing": true,
  "HasNoteChanged": true,
  "Nitrogen": true,
  "MissingDate": "2026-01-21 22:50:35",
  "MissingReasonId": 1,
  "DebitModelId": "6a8de0c2-c99b-40a1-b8bb-4fe105ef5367",
  "Equipments": [
    {
      "Id": "aed1d5eb-8a74-40d1-8977-98e471b4a659",
      "ContactId": "5b186273-1f37-424c-94ff-5616fab0b247",
      "CustomerId": "7d610c44-4b32-4244-9aac-819b130c3dc4",
      "EquipmentSetId": "13397be5-c83d-4251-926b-4e0a8870e45d",
      "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,
        "TireImageId": "7f60fec4-602d-482a-9ac0-37a148c7e810"
      }
    },
    {
      "Id": "aed1d5eb-8a74-40d1-8977-98e471b4a659",
      "ContactId": "5b186273-1f37-424c-94ff-5616fab0b247",
      "CustomerId": "7d610c44-4b32-4244-9aac-819b130c3dc4",
      "EquipmentSetId": "13397be5-c83d-4251-926b-4e0a8870e45d",
      "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,
        "TireImageId": "7f60fec4-602d-482a-9ac0-37a148c7e810"
      }
    }
  ]
}

application/xml, text/xml

Sample:
<EquipmentSetRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.TyreHotel">
  <BranchId>1</BranchId>
  <DebitModelId>6a8de0c2-c99b-40a1-b8bb-4fe105ef5367</DebitModelId>
  <EquipmentSetId>db4b01ab-788e-49d0-adc2-0ae8e178daed</EquipmentSetId>
  <Equipments>
    <EquipmentRequest>
      <ContactId>5b186273-1f37-424c-94ff-5616fab0b247</ContactId>
      <CustomerId>7d610c44-4b32-4244-9aac-819b130c3dc4</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>13397be5-c83d-4251-926b-4e0a8870e45d</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>
        <TireImageId>7f60fec4-602d-482a-9ac0-37a148c7e810</TireImageId>
        <TreadDepth>1</TreadDepth>
        <TreadPattern>sample string 2</TreadPattern>
      </EquipmentTyre>
      <Id>aed1d5eb-8a74-40d1-8977-98e471b4a659</Id>
      <Position>1</Position>
    </EquipmentRequest>
    <EquipmentRequest>
      <ContactId>5b186273-1f37-424c-94ff-5616fab0b247</ContactId>
      <CustomerId>7d610c44-4b32-4244-9aac-819b130c3dc4</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>13397be5-c83d-4251-926b-4e0a8870e45d</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>
        <TireImageId>7f60fec4-602d-482a-9ac0-37a148c7e810</TireImageId>
        <TreadDepth>1</TreadDepth>
        <TreadPattern>sample string 2</TreadPattern>
      </EquipmentTyre>
      <Id>aed1d5eb-8a74-40d1-8977-98e471b4a659</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>2026-01-21T22:50:35.4150119+01:00</MissingDate>
  <MissingReasonId>1</MissingReasonId>
  <Nitrogen>true</Nitrogen>
  <SeasonId>2</SeasonId>
</EquipmentSetRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.