POST v2/privacy/data
Request Information
URI Parameters
None.
Body Parameters
PrivacyInputDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
None. |
|
| Key | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Username": "sample string 1",
"Key": "sample string 2"
}
application/xml, text/xml
Sample:
<PrivacyInputDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.User"> <Key>sample string 2</Key> <Username>sample string 1</Username> </PrivacyInputDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SayfirResponseDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Status | boolean |
None. |
|
| Data | PIIDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorCode": "sample string 1",
"ErrorMessage": "sample string 2",
"Status": true,
"Data": {
"first_name": "sample string 1",
"last_name": "sample string 2",
"user_name": "sample string 3",
"email": "sample string 4",
"phone": "sample string 5",
"degree": "sample string 6"
}
}
application/xml, text/xml
Sample:
<SayfirResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreemanAv.Pm.Api.Domain.Dto.User">
<Data>
<degree>sample string 6</degree>
<email>sample string 4</email>
<first_name>sample string 1</first_name>
<last_name>sample string 2</last_name>
<phone>sample string 5</phone>
<user_name>sample string 3</user_name>
</Data>
<ErrorCode>sample string 1</ErrorCode>
<ErrorMessage>sample string 2</ErrorMessage>
<Status>true</Status>
</SayfirResponseDto>