POST api/Forms/PostForms
Request Information
URI Parameters
None.
Body Parameters
FormsName | Description | Type | Additional information |
---|---|---|---|
FormId | integer |
None. |
|
EmployesId | integer |
None. |
|
Title | string |
None. |
|
Txt | string |
None. |
|
PublishedDate | date |
None. |
|
AvailableToDate | date |
None. |
|
LastChanged | date |
None. |
|
IsAnonymous | boolean |
None. |
|
IsAvailable | boolean |
None. |
|
IsDraft | boolean |
None. |
|
AnswerVisibleForUser | boolean |
None. |
|
LastChange_AuthorId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "FormId": 1, "EmployesId": 2, "Title": "sample string 3", "Txt": "sample string 4", "PublishedDate": "2025-08-14T03:10:23.7978768+00:00", "AvailableToDate": "2025-08-14T03:10:23.7978768+00:00", "LastChanged": "2025-08-14T03:10:23.7978768+00:00", "IsAnonymous": true, "IsAvailable": true, "IsDraft": true, "AnswerVisibleForUser": true, "LastChange_AuthorId": 11 }
application/xml, text/xml
Sample:
<Forms xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <AnswerVisibleForUser>true</AnswerVisibleForUser> <AvailableToDate>2025-08-14T03:10:23.7978768+00:00</AvailableToDate> <EmployesId>2</EmployesId> <FormId>1</FormId> <IsAnonymous>true</IsAnonymous> <IsAvailable>true</IsAvailable> <IsDraft>true</IsDraft> <LastChange_AuthorId>11</LastChange_AuthorId> <LastChanged>2025-08-14T03:10:23.7978768+00:00</LastChanged> <PublishedDate>2025-08-14T03:10:23.7978768+00:00</PublishedDate> <Title>sample string 3</Title> <Txt>sample string 4</Txt> </Forms>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
FormsName | Description | Type | Additional information |
---|---|---|---|
FormId | integer |
None. |
|
EmployesId | integer |
None. |
|
Title | string |
None. |
|
Txt | string |
None. |
|
PublishedDate | date |
None. |
|
AvailableToDate | date |
None. |
|
LastChanged | date |
None. |
|
IsAnonymous | boolean |
None. |
|
IsAvailable | boolean |
None. |
|
IsDraft | boolean |
None. |
|
AnswerVisibleForUser | boolean |
None. |
|
LastChange_AuthorId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "FormId": 1, "EmployesId": 2, "Title": "sample string 3", "Txt": "sample string 4", "PublishedDate": "2025-08-14T03:10:23.7978768+00:00", "AvailableToDate": "2025-08-14T03:10:23.7978768+00:00", "LastChanged": "2025-08-14T03:10:23.7978768+00:00", "IsAnonymous": true, "IsAvailable": true, "IsDraft": true, "AnswerVisibleForUser": true, "LastChange_AuthorId": 11 }
application/xml, text/xml
Sample:
<Forms xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models"> <AnswerVisibleForUser>true</AnswerVisibleForUser> <AvailableToDate>2025-08-14T03:10:23.7978768+00:00</AvailableToDate> <EmployesId>2</EmployesId> <FormId>1</FormId> <IsAnonymous>true</IsAnonymous> <IsAvailable>true</IsAvailable> <IsDraft>true</IsDraft> <LastChange_AuthorId>11</LastChange_AuthorId> <LastChanged>2025-08-14T03:10:23.7978768+00:00</LastChanged> <PublishedDate>2025-08-14T03:10:23.7978768+00:00</PublishedDate> <Title>sample string 3</Title> <Txt>sample string 4</Txt> </Forms>