Difference between revisions of "RESTPost (Activity)"
(→Example) |
(→Example) |
||
Line 49: | Line 49: | ||
=Example= | =Example= | ||
Exemplary values to create service using Workflow. | Exemplary values to create service using Workflow. | ||
+ | |||
+ | {| class="wikitable" | width = "50%" | ||
+ | |- | ||
+ | ! A+B Assign !! Value | ||
+ | |- align="left" | ||
+ | | DisplayName || "Assign" | ||
+ | |- align="left" | ||
+ | | To || args | ||
+ | |- align="left" | ||
+ | | Value || New UBIK.Service.DTO.V211.HierarchyDeltaArguments() | ||
+ | |- align="left" | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| class="wikitable" | width = "50%" | ||
+ | |- | ||
+ | ! A+B Assign !! Value | ||
+ | |- align="left" | ||
+ | | DisplayName || "Assign" | ||
+ | |- align="left" | ||
+ | | To || args.StartingPoint | ||
+ | |- align="left" | ||
+ | | Value || New UBIK.Service.DTO.V211.HierarchyRoot() | ||
+ | |- align="left" | ||
+ | |} | ||
+ | |||
+ | {| class="wikitable" | width = "50%" | ||
+ | |- | ||
+ | ! A+B Assign !! Value | ||
+ | |- align="left" | ||
+ | | DisplayName || "Assign" | ||
+ | |- align="left" | ||
+ | | To || args.ChildrenDepth | ||
+ | |- align="left" | ||
+ | | Value || 1 | ||
+ | |- align="left" | ||
+ | |} | ||
+ | |||
+ | {| class="wikitable" | width = "50%" | ||
+ | |- | ||
+ | ! A+B Assign !! Value | ||
+ | |- align="left" | ||
+ | | DisplayName || "Assign" | ||
+ | |- align="left" | ||
+ | | To || authToken | ||
+ | |- align="left" | ||
+ | | Value || "e1191c36-2081-4ffe-8d8e-4b798d4523a1" | ||
+ | |- align="left" | ||
+ | |} | ||
Line 75: | Line 124: | ||
|} | |} | ||
+ | {| class="wikitable" | width = "50%" | ||
+ | |- | ||
+ | ! DebugMessage !! Value | ||
+ | |- align="left" | ||
+ | | DisplayName || DebugMessage | ||
+ | |- align="left" | ||
+ | | Result || "" | ||
+ | |- align="left" | ||
+ | | Text || result.Records.ToString() | ||
+ | |- align="left" | ||
+ | | UBIKObject || | ||
+ | |- align="left" | ||
+ | |} | ||
+ | {| class="wikitable" | width = "50%" | ||
+ | |- | ||
+ | ! ForEach<UbikContent> !! Value | ||
+ | |- align="left" | ||
+ | | DisplayName || ForEach<UbikContent> | ||
+ | |- align="left" | ||
+ | | Type || UBIK.Service.UbikContent | ||
+ | |- align="left" | ||
+ | | Values || result.ChangedContent | ||
+ | |- align="left" | ||
+ | {| class="wikitable" | width = "50%" | ||
+ | |- | ||
+ | ! DebugMessage !! Value | ||
+ | |- align="left" | ||
+ | | DisplayName || DebugMessage | ||
+ | |- align="left" | ||
+ | | Result || "" | ||
+ | |- align="left" | ||
+ | | Text || item.DisplayStrings(0) | ||
+ | |- align="left" | ||
+ | | UBIKObject || | ||
+ | |- align="left" | ||
+ | |} | ||
+ | |} | ||
Revision as of 11:38, 8 April 2020
This activity is used to create a new resource on a server and performs an "CREATE" operation using the UBIK USAM Service.
See also
Useful Links [What is REST Service]
- https://www.sitepoint.com/developers-rest-api/
- https://mlsdev.com/blog/81-a-beginner-s-tutorial-for-understanding-restful-api
- https://www.smashingmagazine.com/2018/01/understanding-using-rest-api/