GET ValidateDocuments?FiscalCode={FiscalCode}&PhoneNumber={PhoneNumber}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
FiscalCode | string |
Matching regular expression pattern: ^\+?[0-9][0-9\s.-]{7,15}$ |
|
PhoneNumber | string |
Matching regular expression pattern: @"^(\+39\s?)?3\d{2}[\s.-]?\d{6,7}$" |
Body Parameters
None.
Response Information
Resource Description
ValidateDocumentResponseName | Description | Type | Additional information |
---|---|---|---|
IsValid | boolean |
None. |
|
Reason | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsValid": true, "Reason": "sample string 2" }
application/xml, text/xml
Sample:
<ValidateDocumentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.OuterModels.IdentityTransferOrder"> <IsValid>true</IsValid> <Reason>sample string 2</Reason> </ValidateDocumentResponse>