PUT api/authorizations/{authId}/data?RqUID={RqUID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
authId

integer

Required

RqUID

string

None.

Body Parameters

RestAuthorizationDataUpdateRequestDTO
NameDescriptionTypeAdditional information
InterventionInfo

RestInterventionInfoDTO

None.

ContractInfo

RestContractInfoDTO

None.

UserLogin

string

Required

String length: inclusive between 0 and 50

Request Formats

application/json, text/json

Sample:
{
  "InterventionInfo": {
    "ActualVehicleKm": 1,
    "ClaimNumber": "sample string 1",
    "AccidentDate": "2025-10-24",
    "ExpertNeeded": true,
    "VehicleEntryDate": "2025-10-24 14:33:13",
    "ExpectedEntryDate": "2025-10-24",
    "ExpectedRepairEndDate": "2025-10-24 14:33:13",
    "WorkToDo": "sample string 2",
    "AmountRequested": 1.0
  },
  "ContractInfo": {
    "Driver": {
      "Code": "sample string 1",
      "Description": "sample string 2",
      "Name": "sample string 3",
      "ContactPhone": "sample string 4"
    }
  },
  "UserLogin": "sample string 1"
}

application/xml, text/xml

Sample:
<RestAuthorizationDataUpdateRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Authorization">
  <UserLogin xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Shared">sample string 1</UserLogin>
  <ContractInfo>
    <Driver>
      <Code>sample string 1</Code>
      <ContactPhone>sample string 4</ContactPhone>
      <Description>sample string 2</Description>
      <Name>sample string 3</Name>
    </Driver>
  </ContractInfo>
  <InterventionInfo>
    <AccidentDate>2025-10-24T14:33:13.1242344+02:00</AccidentDate>
    <ActualVehicleKm>1</ActualVehicleKm>
    <AmountRequested>1</AmountRequested>
    <ClaimNumber>sample string 1</ClaimNumber>
    <ExpectedEntryDate>2025-10-24T14:33:13.1242344+02:00</ExpectedEntryDate>
    <ExpectedRepairEndDate>2025-10-24T14:33:13.1242344+02:00</ExpectedRepairEndDate>
    <ExpertNeeded>true</ExpertNeeded>
    <VehicleEntryDate>2025-10-24T14:33:13.1242344+02:00</VehicleEntryDate>
    <WorkToDo>sample string 2</WorkToDo>
  </InterventionInfo>
</RestAuthorizationDataUpdateRequestDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RestBasicResponseDTO
NameDescriptionTypeAdditional information
Code

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<RestBasicResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Shared">
  <Code>sample string 1</Code>
  <Message>sample string 2</Message>
</RestBasicResponseDTO>