POST api/cico/validateDocuments

Request Information

URI Parameters

None.

Body Parameters

ValidateDocumentsRequest
NameDescriptionTypeAdditional information
fiscalCode

string

Matching regular expression pattern: ^[A-Z0-9]{16}$

phoneNumber

string

Required

Matching regular expression pattern: ^\+?[0-9\s-]{10,15}$

Request Formats

application/json, text/json

Sample:
{
  "fiscalCode": "sample string 1",
  "phoneNumber": "sample string 2"
}

application/xml, text/xml

Sample:
<ValidateDocumentsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Buffetti.OnBoarding.Api.Dto">
  <FiscalCode>sample string 1</FiscalCode>
  <PhoneNumber>sample string 2</PhoneNumber>
</ValidateDocumentsRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ValidateDocumentsResponse
NameDescriptionTypeAdditional information
success

boolean

None.

token

string

None.

expiresAt

date time

None.

verificationLink

string

None.

message

string

None.

Success

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "token": "sample string 2",
  "expiresAt": "2025-06-27T16:14:13.9920143+02:00",
  "verificationLink": "sample string 4",
  "message": "sample string 5",
  "Success": true
}

application/xml, text/xml

Sample:
<ValidateDocumentsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Buffetti.OnBoarding.Api.Dto">
  <Message xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">sample string 7</Message>
  <OutcomeMessage xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </OutcomeMessage>
  <Success xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">true</Success>
  <ExpiresAt>2025-06-27T16:14:13.9920143+02:00</ExpiresAt>
  <ResponseMessage>sample string 5</ResponseMessage>
  <ResponseSuccess>true</ResponseSuccess>
  <Token>sample string 2</Token>
  <VerificationLink>sample string 4</VerificationLink>
</ValidateDocumentsResponse>