Forms / States

Get Form State

This endpoint retrieves data of a specific Form State based on JSON input. The API returns a single Form State available to the user, according to the unique ID provided. If the specified Form State does not exist, the response will be a "bad request".

You will only receive the Form State after first providing the Session Key. To know how you can obtain the Session Key, go to Authentication.

HEADERS

ParameterValueDescription
Content-Typeapplication/jsonLanguage in which all request and response bodies are encoded
Accept*/*Any data of whatever mime type is accepted
X-Session-KeyAUTH_TOKENThis field must be completed with the token obtained at the authentication

REQUEST

ParameterTypeDescription
idIntegerThe unique and specific identifier for the Form State to retrieve data

RESPONSE

AttributeTypeDescription
idIntegerUnique identifier for the Form State in ForceManager
intOrderIntegerThe order in which the State has to appear in the Form States list
idParentIntegerUnique identifier of the parent
blnEndStateBooleanSet to 1 if the Form is fullfilled 0 otherwise
strIDEnvironmentStringIDs of the Branches (see Branches resource) associated to the Form State
dateCreatedStringDate and time when the Form State was created
dateDeletedStringDate and time when the Form State was deleted
dateUpdatedStringDate and time when the Form State was last updated
deletedBooleanIf true, the Form State has been deleted and archived
descriptionStringForm State name
descriptionBRStringForm State name in Brasilian Portuguese
descriptionDEStringForm State name in German
descriptionDKStringForm State name in Dutch
descriptionENStringForm State name in English
descriptionESStringForm State name in Spanish
descriptionFRStringForm State name in French
descriptionITStringForm State name in Italian
descriptionPTStringForm State name in Portuguese
descriptionRUStringForm State name in Russian
descriptionUSStringForm State name in American English
salesRepIdCreatedIntegerUnique identifier of the user who created the Form State
salesRepIdDeletedIntegerUnique identifier of the user who deleted the Form State
salesRepIdUpdatedIntegerUnique identifier of the user who last updated the Form State

RESPONSE CODES

StatusDescription
200 OKShows if operation succeeded
400 Bad RequestShows when an invalid request or the requested service is not available
get/forms/{ID}/state

Request

  • Base URL: https://api.forcemanager.com/api/v4
  • URL: https://api.forcemanager.com/api/v4/forms/{ID}/state
  • Auth: API key in header X-Session-Key

Headers

Acceptstring

Response

Get Form State

Changes

No recorded changes to this operation across all 1 revision of this API.