PUT api/agreements/articlegroupline

Updates an article group line on agreement.

Request Information

URI Parameters

None.

Body Parameters

AgreementArticleGroupLinePutRequest
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

MainGroupId

integer

None.

SubGroupId

integer

None.

DiscountFactor

decimal number

Required

SpeedRatingId

integer

None.

AspectRatio

decimal number

None.

Pattern

string

Max length: 50

RimDiameter

decimal number

None.

Design

string

Max length: 50

CalculatedPrice

boolean

Required

Remarks

None.

Example

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "d9ff1023-557a-4285-8150-520e96471878",
  "MainGroupId": 2,
  "SubGroupId": 3,
  "DiscountFactor": 4.0,
  "SpeedRatingId": 1,
  "AspectRatio": 1.0,
  "Pattern": "sample string 5",
  "RimDiameter": 1.0,
  "Design": "sample string 6",
  "CalculatedPrice": true
}

application/xml, text/xml

Sample:
<AgreementArticleGroupLinePutRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Agreement">
  <AspectRatio>1</AspectRatio>
  <CalculatedPrice>true</CalculatedPrice>
  <Design>sample string 6</Design>
  <DiscountFactor>4</DiscountFactor>
  <MainGroupId>2</MainGroupId>
  <Pattern>sample string 5</Pattern>
  <RimDiameter>1</RimDiameter>
  <SpeedRatingId>1</SpeedRatingId>
  <SubGroupId>3</SubGroupId>
  <Id>d9ff1023-557a-4285-8150-520e96471878</Id>
</AgreementArticleGroupLinePutRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AgreementArticleGroupLinePutResponse
NameDescriptionTypeAdditional information
Errors

Collection of PutAgreementArticleGroupLineError

None.

Success

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Errors": [
    {
      "ErrorCode": 1,
      "ErrorMessage": "sample string 1"
    },
    {
      "ErrorCode": 1,
      "ErrorMessage": "sample string 1"
    }
  ],
  "Success": true
}

application/xml, text/xml

Sample:
<AgreementArticleGroupLinePutResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Agreement">
  <Errors>
    <PutAgreementArticleGroupLineError>
      <ErrorCode>InternalServerError</ErrorCode>
      <ErrorMessage>sample string 1</ErrorMessage>
    </PutAgreementArticleGroupLineError>
    <PutAgreementArticleGroupLineError>
      <ErrorCode>InternalServerError</ErrorCode>
      <ErrorMessage>sample string 1</ErrorMessage>
    </PutAgreementArticleGroupLineError>
  </Errors>
  <Success>true</Success>
</AgreementArticleGroupLinePutResponse>