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.ConstructPowerAppAndFlowParameterName | 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": "fb266310-4c31-42b2-81ee-a0b1a8078c45", "EntityListId": "e4622e0e-5ed2-4f19-8e02-d8ca9fe54aff", "EntityId": 3, "LibraryInfo": { "Id": "504678f0-07b7-4b4c-8e66-6fbc0348d153", "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>e4622e0e-5ed2-4f19-8e02-d8ca9fe54aff</EntityListId> <LibraryInfo> <Id>504678f0-07b7-4b4c-8e66-6fbc0348d153</Id> <Name>sample string 2</Name> <ServerRelativeUrl>sample string 1</ServerRelativeUrl> </LibraryInfo> <PowerAppOrFlowId>fb266310-4c31-42b2-81ee-a0b1a8078c45</PowerAppOrFlowId> </ConstructPowerAppAndFlowParameter>
Response Information
Resource Description
Returns an identifier for the saved PowerAppAndFlowParameter
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>