POST api/v1/suggestioncomplaint
Request Information
URI Parameters
None.
Body Parameters
SuggestionComplaintRequestName | Description | Type | Additional information |
---|---|---|---|
name | string |
None. |
|
string |
None. |
||
phone | string |
None. |
|
subject | string |
None. |
|
bodyComment | string |
None. |
|
clientCard | string |
None. |
|
isClient | boolean |
None. |
|
providerID | globally unique identifier |
None. |
|
providerName | string |
None. |
|
consents | PersonalConsent |
None. |
|
files | Collection of SuggestionComplaintFile |
None. |
Request Formats
application/json, text/json
Sample:
{ "files": [ { "fileName": "sample string 1", "fileContent": "sample string 2", "contentType": "sample string 3" }, { "fileName": "sample string 1", "fileContent": "sample string 2", "contentType": "sample string 3" } ], "name": "sample string 1", "email": "sample string 2", "phone": "sample string 3", "subject": "sample string 4", "bodyComment": "sample string 5", "clientCard": "sample string 6", "isClient": true, "providerID": "fe75df1f-5972-4b8e-aa0a-a207e8021d87", "providerName": "sample string 9", "consents": { "level": [ 1, 2 ], "date": "2024-08-21T22:56:23.6370125+01:00", "evidences": [ { "content": "sample string 2", "type": "sample string 3", "data": "sample string 4" }, { "content": "sample string 2", "type": "sample string 3", "data": "sample string 4" } ] } }
application/xml, text/xml
Sample:
<SuggestionComplaintRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebsiteAPI.Model"> <BodyComment>sample string 5</BodyComment> <ClientCard>sample string 6</ClientCard> <Consents> <Date>2024-08-21T22:56:23.6370125+01:00</Date> <Evidences> <Evidence> <Content>sample string 2</Content> <Data>sample string 4</Data> <Type>sample string 3</Type> </Evidence> <Evidence> <Content>sample string 2</Content> <Data>sample string 4</Data> <Type>sample string 3</Type> </Evidence> </Evidences> <Level xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </Level> </Consents> <Email>sample string 2</Email> <Files> <SuggestionComplaintFile> <ContentType>sample string 3</ContentType> <FileContent>sample string 2</FileContent> <FileName>sample string 1</FileName> </SuggestionComplaintFile> <SuggestionComplaintFile> <ContentType>sample string 3</ContentType> <FileContent>sample string 2</FileContent> <FileName>sample string 1</FileName> </SuggestionComplaintFile> </Files> <IsClient>true</IsClient> <Name>sample string 1</Name> <Phone>sample string 3</Phone> <ProviderID>fe75df1f-5972-4b8e-aa0a-a207e8021d87</ProviderID> <ProviderName>sample string 9</ProviderName> <Subject>sample string 4</Subject> </SuggestionComplaintRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |