Difference between revisions of "RESTPost (Activity)"
(→Example) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | This activity is used to create a new resource on a server and performs an " | + | This activity is used to create a new resource on a server and performs an "Post" operation using any web service. |
<!-- DO NOT REMOVE THIS -->{{Template:Activity/Begin}}<!-- DO NOT REMOVE THIS --> | <!-- DO NOT REMOVE THIS -->{{Template:Activity/Begin}}<!-- DO NOT REMOVE THIS --> | ||
Line 42: | Line 42: | ||
===Usage=== | ===Usage=== | ||
− | Use this activity to create a new resource on | + | Use this activity to create a new "Post" resource on any server using the UBIK Content service. |
Line 48: | Line 48: | ||
=Example= | =Example= | ||
− | Exemplary values to | + | Exemplary values using RESTPost to get Hierarchy details from UBIK Content service. |
− | + | ||
{| class="wikitable" | width = "50%" | {| class="wikitable" | width = "50%" | ||
|- | |- | ||
! A+B Assign !! Value | ! A+B Assign !! Value | ||
|- align="left" | |- align="left" | ||
− | | DisplayName || | + | | DisplayName || Assign |
|- align="left" | |- align="left" | ||
| To || args | | To || args | ||
Line 61: | Line 60: | ||
|- align="left" | |- align="left" | ||
|} | |} | ||
− | |||
{| class="wikitable" | width = "50%" | {| class="wikitable" | width = "50%" | ||
Line 67: | Line 65: | ||
! A+B Assign !! Value | ! A+B Assign !! Value | ||
|- align="left" | |- align="left" | ||
− | | DisplayName || | + | | DisplayName || Assign |
|- align="left" | |- align="left" | ||
| To || args.StartingPoint | | To || args.StartingPoint | ||
Line 79: | Line 77: | ||
! A+B Assign !! Value | ! A+B Assign !! Value | ||
|- align="left" | |- align="left" | ||
− | | DisplayName || | + | | DisplayName || Assign |
|- align="left" | |- align="left" | ||
| To || args.ChildrenDepth | | To || args.ChildrenDepth | ||
Line 91: | Line 89: | ||
! A+B Assign !! Value | ! A+B Assign !! Value | ||
|- align="left" | |- align="left" | ||
− | | DisplayName || | + | | DisplayName || Assign |
|- align="left" | |- align="left" | ||
| To || authToken | | To || authToken | ||
Line 98: | Line 96: | ||
|- align="left" | |- align="left" | ||
|} | |} | ||
− | |||
{| class="wikitable" | width = "50%" | {| class="wikitable" | width = "50%" | ||
Line 104: | Line 101: | ||
! RESTPost!! Value | ! RESTPost!! Value | ||
|- align="left" | |- align="left" | ||
− | | Body || | + | | Body || args |
|- align="left" | |- align="left" | ||
− | | DisplayName || | + | | DisplayName || RESTPost<BCHierarchyDeltaShipments,HierarchyDeltaArguments> |
|- align="left" | |- align="left" | ||
− | | Error || | + | | Error || |
|- align="left" | |- align="left" | ||
− | | Headers || | + | | Headers || |
|- align="left" | |- align="left" | ||
| MethodName || "GetHierarchyDeltasV212" | | MethodName || "GetHierarchyDeltasV212" | ||
Line 116: | Line 113: | ||
| Parameter || New String(){"APP_MT","CXT_MT",authToken,"264"} | | Parameter || New String(){"APP_MT","CXT_MT",authToken,"264"} | ||
|- align="left" | |- align="left" | ||
− | | Response || | + | | Response || |
|- align="left" | |- align="left" | ||
− | | Result|| | + | | Result|| result |
|- align="left" | |- align="left" | ||
| Url || "https://81.10.184.186:888/UBIK/DBG/AUG/MT/TEMPLATE/Content/UbikContent.svc" | | Url || "https://81.10.184.186:888/UBIK/DBG/AUG/MT/TEMPLATE/Content/UbikContent.svc" | ||
Line 124: | Line 121: | ||
|} | |} | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
Latest revision as of 08:55, 14 April 2020
This activity is used to create a new resource on a server and performs an "Post" operation using any web 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/