REST Sample Project

The REST sample project contains the following application packages:
  1. batchsample: This package contains the following processes to demonstrate Execute Batch Operations REST activity's features:
    1. batch_CUD.bwp: This process shows how to use the Execute Batch Operations REST activity to Create, Update and Delete entities in a single batch.
    2. batch_update_with_preventcreate.bwp: This process shows how to update entities with the PreventCreate upsert restriction using Execute Batch Operations REST activity.
    3. batch_update_with_preventupdate.bwp: This process shows how to update entities with the PreventUpdate upsert restriction using Execute Batch Operations REST activity.
  2. dcrmrestsample: This package contains the following processes:
    1. AssociateEntities.bwp: This process shows how to use the associate entities activity to associate or disassociate two entities.
    2. CRUD.bwp: This process shows how to create, retrieve, update, and delete entity records in the Microsoft Dynamics CRM server.
    3. Query_With_OData_Pagination.bwp: This process shows how to perform a query on entities using the Pagination feature.
    4. Query_With_OData.bwp: This process shows how to perform a query on entities without pagination. Query_With_OData contains two QueryREST activities:
      1. QueryREST activities:QueryRESTEntities_OData_UseRef activity demonstrates useRef feature for a single valued navigation property.
      2. QueryRESTEntities_OData_MultipleExpand_WithOutputattr activity shows how to expand on a collection valued navigation property and a single valued navigation property without useRef.
  3. fetchxmlsample: This package contains the following processes to demonstrate support for different types of FetchXML queries in Query REST entities activity including FetchXML with Joins:
    1. filter_query_params.bwp: This process shows how to use the Query REST Entities activity in FetchXML mode to filter records for both base and linked entities by dynamically entering filter condition input in a FetchXML query, which contains "?" in place of condition value in filter tags.
    2. inner_join.bwp: This process shows how to use the Query REST Entities activity to retrieve entity records using FetchXML mode using a FetchXML query that uses inner joins.
    3. multiple_aggregate_groupby.bwp: This process shows how to use the Query REST Entities activity to retrieve entity records using FetchXML mode using a FetchXML query that uses aggregate and groupby functions on more than one attribute of the base entity.
    4. multiple_and_nested_link_entities.bwp: This process shows how to use the Query REST Entities activity to retrieve entity records using FetchXML mode using a FetchXML query that uses more than one linked-entity for the base entity with one or more such linked entities in turn having linked entities themselves.
    5. outer_join.bwp: This process shows how to use the Query REST Entities activity to retrieve entity records using FetchXML mode using a FetchXML query that uses outer joins.
  4. actionsample: This package contains processes to demonstrate the various features of the Actions REST activity.
    1. bound_action_entity_collection.bwp: This process demonstrates how input schema is formed for actions bound to an entity collection.
    2. complex_bound_action.bwp: This process demonstrates how input schema is formed for a bound action that has complex entity type as input and output. This process uses 'additemcampaign' action which adds items to a campaign.
    3. simple_unbound_action.bwp: This process demonstrates how input schema is formed for actions with boolean , string, binary, and enum types as input. The process uses 'ImportSolution' action which imports binary data solution to the server.
  5. functionsample: This package contains processes to demonstrate the various features of the Functions REST activity.
    1. collection_of_complex_output_function.bwp: This process demonstrates how to use the Functions REST activity for a bounded function which returns the collection of complex data type.
    2. optional_parameter_function.bwp: This process demonstrates how to use the Functions REST activity for a function which accepts optional parameters which are indicated by "?" at the end of input parameter names in the input tab.
    3. query_collection_input_function.bwp: This process shows how to use the Functions REST activity for Query function which accepts collection of input values.
    4. simple_unbounded_enum_input_function.bwp: This process shows how to use the Functions REST activity for a simple unbound function which takes enum value as input.