Easy Form Responses API (/easy_form_responses)
Overview
Form responses are utilized in SIM and Custom Objects.
To determine if the form response is related to SIM or a custom object, check the response payload:
-
SIM-related form responses include the
supplier-idfield -
Custom object form responses include the
custom_object_nameandcustom_object_codefields
Actions
|
Verb |
Path |
Action |
Description |
|---|---|---|---|
|
PUT |
|
add_approver |
Manually add an approver for an easy form response |
|
PUT |
|
add_approver |
Manually add an approver for an easy form response |
|
PUT |
|
approval |
Submit an easy form response for approval |
|
PUT |
|
approval |
Submit an easy form response for approval |
|
GET |
|
index |
Query easy form responses |
|
GET |
|
index |
Query easy form responses |
|
GET |
|
index |
Query easy form responses across all entity types. Use the <codeph>model</codeph> query parameter to filter by a specific custom object code (e.g., <codeph>?model=<custom_object_code></codeph>). |
|
PUT |
|
remove_approval |
Remove an apporver who was manually added |
|
PUT |
|
remove_approval |
Remove an apporver who was manually added |
|
PUT |
|
review |
Review an easy form response |
|
PUT |
|
review |
Review an easy form response |
|
GET |
|
show |
Show an easy form response |
|
GET |
|
show |
Show an easy form response |
|
PUT |
|
update |
Update easy form response |
|
PUT |
|
update |
Update easy form response |
StateIsoCode is available for SIM Easy Form Responses. The region element returns the following: {country: country, state: state, state_iso_code: ISO-3166-2 codes}. If the country does not have state options, the API returns the following: {country: Antarctica, state: NA, state_iso_code: nil}.
Elements
|
Element |
Description |
Req'd |
Unique |
Allowable Value |
In |
Out |
Data Type |
|---|---|---|---|---|---|---|---|
|
approvals |
Approvals |
yes | |||||
|
created-at |
Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ |
yes |
datetime | ||||
|
created-by |
User who created |
yes | |||||
|
current-approval |
Current approval details |
yes | |||||
|
current-parallel-approvals |
Current parallel approvals |
yes | |||||
custom_object_code | The code of the custom object associated with this form response. Only populated when the response is linked to a custom object. | yes | string(255) | ||||
custom_object_name | The name of the custom object associated with this form response. Only populated when the response is linked to a custom object. | yes | string(255) | ||||
|
easy-form-id |
Easy form ID associated with this easy form response |
yes |
yes |
integer | |||
|
easy-form-widget-responses |
The widget responses |
yes | |||||
|
id |
Object unique identifier (must exist) |
yes |
integer | ||||
|
name |
Name of the easy form response |
yes |
string(255) | ||||
|
requested-by |
User that requested |
yes | |||||
|
status |
Status of the easy form response |
yes |
string(255) | ||||
|
subject |
Object associated with this easy form response |
yes | |||||
|
submitted-at |
The date/time the response was submitted in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ |
yes |
datetime | ||||
|
updated-at |
Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ |
yes |
datetime | ||||
|
updated-by |
User who updated |
yes | |||||
|
preferred |
Preferred |
yes |
string(255) |