Work On Progress...
Endpoint
SaveData endpoint is used to create/update subtypes records .The POST action is used for the data modification operations.
Headers
In order to save and receive entity record, the AptifyAuthorization header is required along with <TokenId> genrated after Authentication.
Header Name | Header Value |
---|---|
AptifyAuthorization | <Authentication Provider> <TokenId> |
Endpoint Example
https://<base address>/services/BasicGenericEntity/SaveData
Request Body (POST, as Form Data)
{ ID: <Group ID>, EntityName: "Groups", SubTypes: [ { ID: -1, EntityName: "GroupMembers", UserID: 11 } ] }
Sample Response Body
Request Body For Multiple Records
{ ID: <Group ID>, EntityName: "Groups", SubTypes: [ { ID: -1, EntityName: "GroupMembers", UserID: <User ID 1> }, { ID: -1, EntityName: "GroupMembers", UserID: <User ID 2> } ] }
Sample Response Body Multiple Records