Method :POST

URL: https://apiv1.publicators.com/api/Forms/GetForms

Get all active Forms

Request Information

URI Parameters

None.

Body Parameters

Json format: formBinding

FormBindingModel
NameDescriptionTypeAdditional information
Auth

Authorization token

AuthorizationTokenBindingModel

Required

Request Formats

application/json, text/json

Sample:
{
  "Auth": {
    "Token": "f71d6c56-2529-4fef-a8ef-9f25e28e8df0"
  }
}

Response Information

Resource Description

Json format: IEnumerable of FormViewModel

Collection of FormViewModel
NameDescriptionTypeAdditional information
form_id

Form Id

integer

None.

form_name

Form name

string

None.

form_notify_toemail

Email to be notified for each newly registered

string

None.

list_id

List Id to store the newly registered

integer

None.

form_optin

Recipient inserted as approval status

boolean

None.

form_created

Form Date Created DateTime format yyyy/MM/dd HH:mm:ss

date

None.

form_lang

Form language

FormLangType

None.

FormLink

Return custom link

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "form_id": 1,
    "form_name": "sample string 2",
    "form_notify_toemail": "sample string 3",
    "list_id": 4,
    "form_optin": true,
    "form_created": "2018/04/25 09:30:33",
    "form_lang": 0,
    "FormLink": "sample string 7"
  },
  {
    "form_id": 1,
    "form_name": "sample string 2",
    "form_notify_toemail": "sample string 3",
    "list_id": 4,
    "form_optin": true,
    "form_created": "2018/04/25 09:30:33",
    "form_lang": 0,
    "FormLink": "sample string 7"
  }
]