POST api/cico/registry
Request Information
URI Parameters
None.
Body Parameters
RegistryNewDtoRequestName | Description | Type | Additional information |
---|---|---|---|
fiscalCode | string |
Required Matching regular expression pattern: ^[A-Z0-9]{16}$ |
|
lastName | string |
Required Matching regular expression pattern: ^[A-Za-zÀ-ÿ]+(?:[-'\s][A-Za-zÀ-ÿ]+)*$ |
|
firstName | string |
Required Matching regular expression pattern: ^[A-Za-zÀ-ÿ]+(?:[-'\s][A-Za-zÀ-ÿ]+)*$ |
|
address | string |
Required Matching regular expression pattern: ^[A-Za-z0-9\s,.'-]+$ |
|
addressNo | string |
Required Matching regular expression pattern: ^[A-Za-z0-9\s/-]+$ |
|
city | string |
Required Matching regular expression pattern: ^[A-Za-zÀ-ÿ\s'-]+$ |
|
province | string |
Required Matching regular expression pattern: ^[A-Za-zÀ-ÿ\s'-]+$ |
|
cap | string |
Matching regular expression pattern: ^\d{5}$ |
|
country | string |
Required Matching regular expression pattern: ^[A-Za-zÀ-ÿ\s'-]+$ |
|
phoneNumber | string |
Required Matching regular expression pattern: ^\+?[0-9\s-]{10,15}$ |
|
mobileNumber | string |
Matching regular expression pattern: ^\+?[0-9\s-]{10,15}$ |
|
string |
None. |
||
cityOfBirth | string |
Required Matching regular expression pattern: ^[A-Za-zÀ-ÿ\s'-]+$ |
|
idDocument | string |
Required Max length: 50 |
|
idDocumenIssueDate | date time |
Required |
|
IdIssuePlace | string |
Required Max length: 200 |
|
dateOfBirth | date time |
Required |
|
sex | string |
Required Matching regular expression pattern: ^[MF]$ |
|
isPep | boolean |
Required |
|
countryUICCode | string |
Required Max length: 3 |
|
countryUICCodeOfBirth | string |
Required Max length: 3 |
|
provinceOfBirth | string |
Required Matching regular expression pattern: ^[A-Za-zÀ-ÿ\s'-]+$ |
|
Success | boolean |
None. |
|
message | string |
None. |
Request Formats
application/json, text/json
{ "fiscalCode": "sample string 1", "lastName": "sample string 2", "firstName": "sample string 3", "address": "sample string 4", "addressNo": "sample string 5", "city": "sample string 6", "province": "sample string 7", "cap": "sample string 8", "country": "sample string 9", "phoneNumber": "sample string 10", "mobileNumber": "sample string 11", "email": "sample string 12", "cityOfBirth": "sample string 13", "idDocument": "sample string 14", "idDocumenIssueDate": "2025-09-16T10:49:40.6535964+02:00", "IdIssuePlace": "sample string 15", "dateOfBirth": "2025-09-16T10:49:40.6535964+02:00", "sex": "sample string 17", "isPep": true, "countryUICCode": "sample string 19", "countryUICCodeOfBirth": "sample string 20", "provinceOfBirth": "sample string 21", "Success": true, "message": "sample string 23" }
application/xml, text/xml
<RegistryNewDtoRequest 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 23</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> <Address>sample string 4</Address> <AddressNo>sample string 5</AddressNo> <Cap>sample string 8</Cap> <City>sample string 6</City> <CityOfBirth>sample string 13</CityOfBirth> <Country>sample string 9</Country> <CountryUICCode>sample string 19</CountryUICCode> <CountryUICCodeOfBirth>sample string 20</CountryUICCodeOfBirth> <DateOfBirth>2025-09-16T10:49:40.6535964+02:00</DateOfBirth> <Email>sample string 12</Email> <FirstName>sample string 3</FirstName> <FiscalCode>sample string 1</FiscalCode> <Gender>sample string 17</Gender> <IdDocumenIssueDate>2025-09-16T10:49:40.6535964+02:00</IdDocumenIssueDate> <IdDocument>sample string 14</IdDocument> <IdIssuePlace>sample string 15</IdIssuePlace> <IsPep>true</IsPep> <LastName>sample string 2</LastName> <MobileNumber>sample string 11</MobileNumber> <PhoneNumber>sample string 10</PhoneNumber> <Province>sample string 7</Province> <ProvinceOfBirth>sample string 21</ProvinceOfBirth> </RegistryNewDtoRequest>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
RegistryNewDtoResponseName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
message | string |
None. |
Response Formats
application/json, text/json
{ "Success": true, "message": "sample string 2" }
application/xml, text/xml
<RegistryNewDtoResponse 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 2</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> </RegistryNewDtoResponse>