Table of Contents

Search

  1. Preface
  2. Overview, Downloading, and Installing
  3. Administration API
  4. Identity Service API
  5. Screenflow Programming and SDK
  6. ActiveVOS WSHT API
  7. Embedding Request Forms in Standalone Web Pages
  8. XML-JSON for Process Central

7. APIs, SDKs, and Services

7. APIs, SDKs, and Services

Create

Create

Create is currently not used by the Process Designer framework. However, it is reserved for future use. We recommend that customers implement this operation for use by their custom create services.
The create operation is called when an entity needs to be created in the host. A create request specifies the type of object, the field name, and a value for each field in the object. Only fields in the entity detail marked as required are required to create an entity. An example input message is provided in the Create Message code example. The response from a create request (the create response message code example) is simply an element with an attribute defining the object ID of the newly created object. Optionally in the response, there can be child elements with rollback details.
Code Example: Create Message
<types1:create objectType="account_tasks"> <types1:fieldValue name="Assigned To ID"> 4de025c6-354e-481e-84b9-fbf315486d26</types1:fieldValue> <types1:fieldValue name="Subject">Task assigned by </types1:fieldValue> <types1:fieldValue name="Description">sfd</types1:fieldValue> <types1:fieldValue name="Due Date">2012-10-29T16:00:00Z </types1:fieldValue> <types1:fieldValue name="Status">Not Started</types1:fieldValue> <types1:fieldValue name="Priority">Normal</types1:fieldValue> </types1:create>
Code Example: Create Response Message
<types1:createResponse id="24db9f6f-2f66-4a19-915e-c9002faf0a11" objectType="account_tasks"/>