Work On Progress...
Endpoint
In Order to create/update subtypes records using SaveData point .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
Code Block |
---|
https://<base address>/services/BasicGenericEntity/SaveData |
Request Body (POST, as Form Data)
Code Block |
---|
{
ID: <Group ID>,
EntityName: "Groups",
SubTypes:
[ {
ID: -1,
EntityName: "GroupMembers",
UserID: 11
} ]
} |
Sample Response Body
Request Body For Multiple Records
Code Block |
---|
{
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