GET api/v1/validate/companyadditionalinfo/{companyId}/{additionalInfoGid}/{value}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyId

integer

Required

additionalInfoGid

string

Required

value

string

Required

Body Parameters

None.

Response Information

Resource Description

WebApiResponseOfValidationResponseDto
NameDescriptionTypeAdditional information
StatusCode

HttpStatusCode

None.

WebApiResponseMessages

Collection of WebApiResponseMessage

None.

Data

ValidationResponseDto

None.

HasMessages

boolean

None.

HasErrors

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 100,
  "WebApiResponseMessages": [
    {
      "Type": 0,
      "MessageText": "sample string 1"
    },
    {
      "Type": 0,
      "MessageText": "sample string 1"
    }
  ],
  "Data": {
    "Count": 1,
    "IsValid": true
  },
  "HasMessages": true,
  "HasErrors": false
}

application/xml, text/xml

Sample:
<WebApiResponseOfValidationResponseDto2hOZ3oto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eu.Erac.Services.Core.Interfaces.Dto">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eu.Erac.ValidationAPI.Common">
    <d2p1:Count>1</d2p1:Count>
    <d2p1:IsValid>true</d2p1:IsValid>
  </Data>
  <StatusCode>Continue</StatusCode>
  <WebApiResponseMessages>
    <WebApiResponseMessage>
      <MessageText>sample string 1</MessageText>
      <Type>None</Type>
    </WebApiResponseMessage>
    <WebApiResponseMessage>
      <MessageText>sample string 1</MessageText>
      <Type>None</Type>
    </WebApiResponseMessage>
  </WebApiResponseMessages>
</WebApiResponseOfValidationResponseDto2hOZ3oto>