DELETE api/agreements/articleline/{articleNumber}/{agreementNumber}

Deletes an article line on agreement.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
articleNumber

article number of article line that will be deleted from agreement

integer

Required

agreementNumber

Agreement number where the article line will be deleted

integer

Required

Body Parameters

None.

Remarks

None.

Example

None.

Response Information

Resource Description

AgreementArticleLineDeleteResponse
NameDescriptionTypeAdditional information
Success

Returns true if article line is deleted on agreement

boolean

None.

Errors

List of errors when deleting an article line on agreement

Collection of DeleteAgreementArticleLineError

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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