put https://yourorgsite.com/api//
Update data for a panel source.
Log in to see full request history
Responses
200The request was successful.
201The resource was successfully created.
202The resource was asynchronously created.
Update data for a panel source.
200The request was successful.
201The resource was successfully created.
202The resource was asynchronously created.
xxxxxxxxxx
16const options = {
method: 'PUT',
headers: {accept: 'application/json', 'content-type': 'application/json'},
body: JSON.stringify({
$type: 'Asi.Soa.Core.DataContracts.GenericExecuteRequest, Asi.Contracts',
EntityTypeName: 'The name of the panel source',
PrimaryParentEntityTypeName: 'The type of the panel source',
Identity: {$type: 'Asi.Soa.Core.DataContracts.IdentityData, Asi.Contracts'},
PrimaryParentIdentity: {$type: 'Asi.Soa.Core.DataContracts.IdentityData, Asi.Contracts'}
})
};
fetch('https://yourorgsite.com/api/PanelSourceName/UserId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
Try It!
to start a request and see the response here!