This version of supports version v1.0 of the REST API and earlier. The base URL for the latest API version is:
http://localhost:8008/api
Merge entry
{{status subtle="false" colour="Green" title="POST"/}}
/arsys/v1/mergeEntry/{formName}
Click here to expand...
Merges an entry into a form with attachment
Entry
{{status subtle="false" colour="Blue" title="GET"/}}
/arsys/v1.0/entry
Click here to expand...
{{status subtle="false" colour="Blue" title="GET"/}}
/arsys/v1.0/entry/{formName}
Click here to expand...
Returns the details of all the entries on a form.The default behavior is to internally call Get List Entry With Fields, which does not initiate Get Entry workflow.
| | | | |
---|
| | The form for which an entries are to be read. | | |
| | Selects what parts of the JSON document to return (for example, ?fields=values(field1,field2)) | | |
| | Order in which sorts the results (for example, ?sort=submitDate.desc) | | |
| | | | |
| | Offset for the entry return | | |
| | Number of instances in which limit the result | | |
| | Expands related entries (associations). | | |
| | Flag indicating if get Filters to be called. | | |
| | |
---|
| | RestEntries { entries: [ RestEntry { values: { } _links: { } _embedded: { } } ] _links: { } }| |
{{status subtle="false" colour="Green" title="POST"/}}
/arsys/v1.0/entry/{formName}
Click here to expand...
Display-only forms and Join forms do not generate an entry ID when they are created, and the status code 204 is returned. If an entry ID is generated, such as on a regular form, status code 201 with the Location header is returned.
| | | | |
---|
| | Selects what parts of the JSON document to return (for example, ?fields=entryId1,entryId2). | | |
| | Expects a RestEntry bodypart. Also, expects one or more attachments. The actual binary values are passed as attach-fieldname bodyparts | | FormDataMultiPart { type: string contentDisposition: ContentDisposition { parameters: { } fileName: string creationDate: date-time modificationDate: date-time readDate: date-time size: int64 } entity: { } headers: { } mediaType: MediaType { type: string subtype: string parameters: { } wildcardSubtype: boolean wildcardType: boolean } messageBodyWorkers: MessageBodyWorkers { } parent: MultiPart { contentDisposition: ContentDisposition { type: string parameters: { } fileName: string creationDate: date-time modificationDate: date-time readDate: date-time size: int64 } entity: { } headers: { } mediaType: MediaType { type: string subtype: string parameters: { } wildcardSubtype: boolean wildcardType: boolean } messageBodyWorkers: MessageBodyWorkers { } parent: string providers: Providers { } bodyParts: [ string ] parameterizedHeaders: { } } providers: Providers { } bodyParts: [ BodyPart { contentDisposition: ContentDisposition { type: string parameters: { } fileName: string creationDate: date-time modificationDate: date-time readDate: date-time size: int64 } entity: { } headers: { } mediaType: MediaType { type: string subtype: string parameters: { } wildcardSubtype: boolean wildcardType: boolean } messageBodyWorkers: MessageBodyWorkers { } parent: MultiPart { contentDisposition: ContentDisposition { type: string parameters: { } fileName: string creationDate: date-time modificationDate: date-time readDate: date-time size: int64 } entity: { } headers: { } mediaType: MediaType { type: string subtype: string parameters: { } wildcardSubtype: boolean wildcardType: boolean } messageBodyWorkers: MessageBodyWorkers { } parent: string providers: Providers { } bodyParts: [ string ] parameterizedHeaders: { } } providers: Providers { } parameterizedHeaders: { } } ] fields: { } parameterizedHeaders: { } }|
|
| | |
---|
| | RestEntry { } values: { _links: { } _embedded: { } }| |
{{status subtle="false" colour="Yellow" title="OPTIONS"/}}
/arsys/v1.0/entry/{formName}
Click here to expand...
Retrieves the information of the form schema.
| | | | |
---|
| | The form for which option information is to be retrieved. | | |
| | Selects what parts of the JSON document to return (for example, fields=values(fieldName1,fieldName2)) | | |
| | Expands the related entries (associations). | | |
| | |
---|
| | JsonSchema { get$ref: string id: string get$schema: string disallow: [ string ] required: boolean readonly: boolean description: string extends: [ string ] }| |
{{status subtle="false" colour="Blue" title="GET"/}}
/arsys/v1.0/entry/{formName}/{entryId}
Click here to expand...
Returns the details of an entry on a form. The entry object will contain field values for all data fields to which the user has permission.
| | | | |
---|
| | The form for which an entry is to be read | | |
| | | | |
| | Selects what parts of the JSON document to return (for example, ?fields=entryId1,entryId2). | | |
| | Expands the related entries (associations). | | |
{{status subtle="false" colour="Yellow" title="PUT"/}}
/arsys/v1.0/entry/{formName}/{entryId}
Click here to expand...
This operation updates an entry with an attachment.
| | | | |
---|
| | If-Unmodified-Since HTTP Date | | |
| | Expects a RestEntry bodypart. Also, expects one or more attachments. The actual binary values are passed as attach-fieldname bodyparts | | FormDataMultiPart { type: string contentDisposition: ContentDisposition { parameters: { } fileName: string creationDate: date-time modificationDate: date-time readDate: date-time size: int64 } entity: { } headers: { } mediaType: MediaType { type: string subtype: string parameters: { } wildcardSubtype: boolean wildcardType: boolean } messageBodyWorkers: MessageBodyWorkers { } parent: MultiPart { contentDisposition: ContentDisposition { type: string parameters: { } fileName: string creationDate: date-time modificationDate: date-time readDate: date-time size: int64 } entity: { } headers: { } mediaType: MediaType { type: string subtype: string parameters: { } wildcardSubtype: boolean wildcardType: boolean } messageBodyWorkers: MessageBodyWorkers { } parent: string providers: Providers { } bodyParts: [ string ] parameterizedHeaders: { } } providers: Providers { } bodyParts: [ BodyPart { contentDisposition: ContentDisposition { type: string parameters: { } fileName: string creationDate: date-time modificationDate: date-time readDate: date-time size: int64 } entity: { } headers: { } mediaType: MediaType { type: string subtype: string parameters: { } wildcardSubtype: boolean wildcardType: boolean } messageBodyWorkers: MessageBodyWorkers { } parent: MultiPart { contentDisposition: ContentDisposition { type: string parameters: { } fileName: string creationDate: date-time modificationDate: date-time readDate: date-time size: int64 } entity: { } headers: { } mediaType: MediaType { type: string subtype: string parameters: { } wildcardSubtype: boolean wildcardType: boolean } messageBodyWorkers: MessageBodyWorkers { } parent: string providers: Providers { } bodyParts: [ string ] parameterizedHeaders: { } } providers: Providers { } parameterizedHeaders: { } } ] fields: { } parameterizedHeaders: { } }|
|
{{status subtle="false" colour="Red" title="DELETE"/}}
/arsys/v1.0/entry/{formName}/{entryId}
Click here to expand...
Delete an entry from a particular form. You can also use the option FORCE to force delete all the list of entries, for example, ?options=FORCE
| | | | |
---|
| | The form for which entry is to be deleted. | | |
| | | | |
| | | | [ Enum: [ string "NONE", "FORCE", "NOCASCADE" ] ]| |
{{status subtle="false" colour="Yellow" title="OPTIONS"/}}
/arsys/v1.0/entry/{formName}/{entryId}
Click here to expand...
Retrieves the information of the form schema.
| | |
---|
| | JsonSchema { get$ref: string id: string get$schema: string disallow: [ string ] required: boolean readonly: boolean description: string extends: [ string ] }| |
{{status subtle="false" colour="Blue" title="GET"/}}
/arsys/v1.0/entry/{formName}/{entryId}/assoc/{associationName}
Click here to expand...
Returns the list of associated entries for a particular entry.
| | | | |
---|
| | The form for which an entry is to be read. | | |
| | | | |
| | The form for which an entries are to be read. | | |
| | |
---|
| | RestEntries { RestEntry { entries: [ values: { } _links: { } _embedded: { } } ] _links: { } }| |
{{status subtle="false" colour="Yellow" title="OPTIONS"/}}
/arsys/v1.0/entry/{formName}/{entryId}/assoc/{associationName}
Click here to expand...
Retrieves the information of the form schema.
| | |
---|
| | JsonSchema { get$ref: string id: string get$schema: string disallow: [ string ] required: boolean readonly: boolean description: string extends: [ string ] }| |
{{status subtle="false" colour="Blue" title="GET"/}}
/arsys/v1.0/entry/{formName}/{entryId}/attach/{fieldName}
Click here to expand...
Returns an attachment for a particular entry or for the list of entries.
| | | | |
---|
| | The form for which an entry is to be created. | | |
| | | | |
| | The name of an attachment field. | | |
Fields
{{status subtle="false" colour="Blue" title="GET"/}}
/arsys/v1.0/fields/{formName}
Click here to expand...
Returns details of fields on the form
| | | | |
---|
| | The form for which field definition has to be retrieved | | |
| | The field Ids for which field definition has to be retrieved | | |
| | The field criteria to retrieve field definitions | | |
| | The field type to retrieve field definitions | | |
| | | | |
| | | | |
| | |
---|
| | AsyncResponse { cancelled: boolean done: boolean suspended: boolean }| |
| Request body is incorrect | AsyncResponse { cancelled: boolean done: boolean suspended: boolean }|
|
| | AsyncResponse { cancelled: boolean done: boolean suspended: boolean }|
|
| | AsyncResponse { cancelled: boolean done: boolean suspended: boolean }| |
| | AsyncResponse { cancelled: boolean done: boolean suspended: boolean }| |
{{status subtle="false" colour="Blue" title="GET"/}}
/arsys/v1.0/fields/{formName}/{fieldId}
Click here to expand...
Returns details of field on the form
| | | | |
---|
| | The form for which field definition has to be retrieved | | |
| | The field Id for which field definition has to be retrieved | | |
| | Additional field criteria | | |
| | |
---|
| | |
| Request body is incorrect | |
| | |
| | |
| | |
This version of supports versions v1.0 of the REST API and earlier. The base URL for the latest API version is:
http://localhost:8008/api
Login
{{status subtle="false" colour="Green" title="POST"/}}
/jwt/login
Click here to expand...
Returns a jwt auth token to be used to authenticate other AR REST apis
Logout
{{status subtle="false" colour="Green" title="POST"/}}
/jwt/logout
Click here to expand...
Called to logout an existing user session
{{status subtle="false" colour="Green" title="POST"/}}
/arsys/v1.0/menu/expand
Click here to expand...
| | | | |
---|
| | | | RestExpandMenuRequestData { qualification_substitute_info: RestFieldAndKeywordEntry { name: string form_name: string field_values: { } keyword_values: { } } max_entries: int32 total_count: boolean }| |
| | |
---|
| | [ type: string RestMenuItem { label: string value: string content: [ string ] } ]| |
{{status subtle="false" colour="Blue" title="GET"/}}
/arsys/v1.0/menu/{name}
Click here to expand...
| | | | |
---|
| | | | |
| | Comma separate criteria list | | |
| | |
---|
| | RestMenu { new_name: string name: string help_text: string menu_type: string refresh_code: int32 properties: { } owner: string menu_information: { } last_changed_by: string last_update_time: date-time change_history: [ RestDiaryItem { user: string changed_time: date-time text: string } ] _links: { } _embedded: { } }| |
Webhook
{{status subtle="false" colour="Green" title="POST"/}}
/arsys/v1.0/webhook
Click here to expand...
| | | | |
---|
| | RestWebhook request body. | | RestWebhook { description: string webhook_id: string form_name: string condition: string entry_events: [ string ] payload_fields: [ string ] enabled: boolean callback: RestWebhookCallback { url: string authentication: RestWebhookAuthentication { type: string username: string password: string } headers: { } } _links: { } _embedded: { } }|
|
{{status subtle="false" colour="Blue" title="GET"/}}
/arsys/v1.0/webhook/{id}
Click here to expand...
{{status subtle="false" colour="Yellow" title="PUT"/}}
/arsys/v1.0/webhook/{id}
Click here to expand...
| | | | |
---|
| | Id of webhook to be updated | | |
| | RestWebhook request body. | | RestWebhook { description: string webhook_id: string form_name: string condition: string entry_events: [ string ] payload_fields: [ string ] enabled: boolean callback: RestWebhookCallback { url: string authentication: RestWebhookAuthentication { type: string username: string password: string } headers: { } } _links: { } _embedded: { } }| |
{{status subtle="false" colour="Red" title="DELETE"/}}
/arsys/v1.0/webhook/{id}
Click here to expand...
| | | | |
---|
| | Id of webhook to be deleted | | |
| | |
---|
| | RestWebhook { description: string webhook_id: string form_name: string condition: string entry_events: [ string ] payload_fields: [ string ] enabled: boolean callback: RestWebhookCallback { url: string authentication: RestWebhookAuthentication { type: string username: string password: string } headers: { } } _links: { } _embedded: { } }| |