POST api/postSurvey
Request Information
URI Parameters
None.
Body Parameters
FireBaseSurveyName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
QuestionId | integer |
None. |
|
Result | string |
Required |
|
AdditionalInfo | string |
None. |
|
CreateAt | date |
None. |
|
UpdatedAt | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "QuestionId": 2, "Result": "sample string 3", "AdditionalInfo": "sample string 4", "CreateAt": "2025-01-08T09:21:45.7990284-08:00", "UpdatedAt": "2025-01-08T09:21:45.7990284-08:00" }
application/xml, text/xml
Sample:
<FireBaseSurvey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhistleAdminDAL.Entities"> <AdditionalInfo>sample string 4</AdditionalInfo> <CreateAt>2025-01-08T09:21:45.7990284-08:00</CreateAt> <Id>1</Id> <QuestionId>2</QuestionId> <Result>sample string 3</Result> <UpdatedAt>2025-01-08T09:21:45.7990284-08:00</UpdatedAt> </FireBaseSurvey>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |