POST api/Parameter/ConstructPowerAppAndFlowParameter
Constructs and saves a PowerAppAndFlowParameter and returns an identifier.
Request Information
URI Parameters
None.
Body Parameters
Construct PowerApp and Flow parameter.
WorkPoint365.WebAPI.Model.ConstructPowerAppAndFlowParameter| Name | Description | Type | Additional information |
|---|---|---|---|
| PowerAppOrFlowId |
Id for a PowerApp or Flow |
globally unique identifier |
None. |
| EntityListId |
Entity list id |
globally unique identifier |
None. |
| EntityId |
Entity id |
integer |
None. |
| LibraryInfo |
Library information |
WorkPoint365.WebAPI.Model.PowerAppAndFlowParameter+LibraryInfo |
None. |
| DocumentIDs |
Document ids |
Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PowerAppOrFlowId": "3184fd3b-4b97-4f46-8ed3-6737e01e6d57",
"EntityListId": "960f43a3-d650-4e6f-bc03-3770fab8b4bd",
"EntityId": 3,
"LibraryInfo": {
"Id": "5312e5ce-dcb6-4bae-b7ef-5ff8f65d5f7e",
"ServerRelativeUrl": "sample string 1",
"Name": "sample string 2"
},
"DocumentIDs": [
1,
2
]
}
application/xml, text/xml
Sample:
<ConstructPowerAppAndFlowParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPoint365.WebAPI.Model">
<DocumentIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</DocumentIDs>
<EntityId>3</EntityId>
<EntityListId>960f43a3-d650-4e6f-bc03-3770fab8b4bd</EntityListId>
<LibraryInfo>
<Id>5312e5ce-dcb6-4bae-b7ef-5ff8f65d5f7e</Id>
<Name>sample string 2</Name>
<ServerRelativeUrl>sample string 1</ServerRelativeUrl>
</LibraryInfo>
<PowerAppOrFlowId>3184fd3b-4b97-4f46-8ed3-6737e01e6d57</PowerAppOrFlowId>
</ConstructPowerAppAndFlowParameter>
Response Information
Resource Description
Returns an identifier for the saved PowerAppAndFlowParameter
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.