POST api/OrganizationMember/UpdateStaffPermission
Request Information
URI Parameters
None.
Body Parameters
OrganizationMemberName | Description | Type | Additional information |
---|---|---|---|
RecordNo | integer |
None. |
|
AspNetUserFK | integer |
None. |
|
OrganizationMemberTypeFK | integer |
None. |
|
OrganizationMemberType | OrganizationMemberType |
None. |
|
OrganizationFK | integer |
None. |
|
Organization | Organization |
None. |
|
RegisterBy | integer |
None. |
|
EmailHash | string |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
EmailAddress | string |
None. |
|
PhoneNumber | string |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
CreatedOn | date |
None. |
|
UpdatedOn | date |
None. |
|
IsDeleted | boolean |
None. |
|
OrganizationMemberPermissions | Collection of OrganizationMemberPermissions |
None. |
Request Formats
application/json, text/json
Sample:
{ "RecordNo": 1, "AspNetUserFK": 1, "OrganizationMemberTypeFK": 2, "OrganizationMemberType": { "RecordNo": 1, "OrganizationMemberTypeName": "sample string 2", "CreatedOn": "2024-12-22T10:40:46.9416735+00:00", "UpdatedOn": "2024-12-22T10:40:46.9416735+00:00", "IsDeleted": true }, "OrganizationFK": 3, "Organization": { "RecordNo": 1, "OrganizationName": "sample string 2", "ProjectFK": 1, "Projects": { "RecordNo": 1, "ProjectName": "sample string 2", "UpdatedOn": "2024-12-22T10:40:46.9416735+00:00", "IsDeleted": true, "TestTypes": [ { "RecordNo": 1, "TestTypeName": "sample string 2", "SortOrder": 3, "IsStudent": true, "ProjectFK": 1, "UpdatedOn": "2024-12-22T10:40:46.9416735+00:00", "IsDeleted": true }, { "RecordNo": 1, "TestTypeName": "sample string 2", "SortOrder": 3, "IsStudent": true, "ProjectFK": 1, "UpdatedOn": "2024-12-22T10:40:46.9416735+00:00", "IsDeleted": true } ] }, "CreatedOn": "2024-12-22T10:40:46.9416735+00:00", "UpdatedOn": "2024-12-22T10:40:46.9416735+00:00", "IsDeleted": true, "organizationPlans": [ { "RecordNo": 1, "OrganizationFK": 2, "OrganizationPlanTypeFK": 3, "OrganizationPlanType": { "RecordNo": 1, "OrganizationPlanName": "sample string 2", "MaxCountStudent": 3, "MinCountStudent": 4, "Cost": 5.0, "ExpireDays": 6, "CreatedOn": "2024-12-22T10:40:46.9416735+00:00", "UpdatedOn": "2024-12-22T10:40:46.9416735+00:00", "IsDeleted": true }, "CreatedBy": 4, "CancelledBy": 1, "CancellationReasonFK": 1, "CancellationReason": { "RecordNo": 1, "CancellationReasonName": "sample string 2", "IsOrgnizationPlan": true, "IsUserPlan": true, "CreatedOn": "2024-12-22T10:40:46.9416735+00:00", "UpdatedOn": "2024-12-22T10:40:46.9416735+00:00", "IsDeleted": true }, "CancellationReasonNote": "sample string 5", "CancellationDate": "2024-12-22T10:40:46.9416735+00:00", "Amount": 6.0, "StartDate": "2024-12-22T10:40:46.9416735+00:00", "EndDate": "2024-12-22T10:40:46.9416735+00:00", "CreatedOn": "2024-12-22T10:40:46.9416735+00:00", "UpdatedOn": "2024-12-22T10:40:46.9416735+00:00", "IsDeleted": true }, { "RecordNo": 1, "OrganizationFK": 2, "OrganizationPlanTypeFK": 3, "OrganizationPlanType": { "RecordNo": 1, "OrganizationPlanName": "sample string 2", "MaxCountStudent": 3, "MinCountStudent": 4, "Cost": 5.0, "ExpireDays": 6, "CreatedOn": "2024-12-22T10:40:46.9416735+00:00", "UpdatedOn": "2024-12-22T10:40:46.9416735+00:00", "IsDeleted": true }, "CreatedBy": 4, "CancelledBy": 1, "CancellationReasonFK": 1, "CancellationReason": { "RecordNo": 1, "CancellationReasonName": "sample string 2", "IsOrgnizationPlan": true, "IsUserPlan": true, "CreatedOn": "2024-12-22T10:40:46.9416735+00:00", "UpdatedOn": "2024-12-22T10:40:46.9416735+00:00", "IsDeleted": true }, "CancellationReasonNote": "sample string 5", "CancellationDate": "2024-12-22T10:40:46.9416735+00:00", "Amount": 6.0, "StartDate": "2024-12-22T10:40:46.9416735+00:00", "EndDate": "2024-12-22T10:40:46.9416735+00:00", "CreatedOn": "2024-12-22T10:40:46.9416735+00:00", "UpdatedOn": "2024-12-22T10:40:46.9416735+00:00", "IsDeleted": true } ] }, "RegisterBy": 4, "EmailHash": "sample string 5", "FirstName": "sample string 6", "LastName": "sample string 7", "EmailAddress": "sample string 8", "PhoneNumber": "sample string 9", "StartDate": "2024-12-22T10:40:46.9416735+00:00", "EndDate": "2024-12-22T10:40:46.9416735+00:00", "CreatedOn": "2024-12-22T10:40:46.9416735+00:00", "UpdatedOn": "2024-12-22T10:40:46.9416735+00:00", "IsDeleted": true, "OrganizationMemberPermissions": [ { "RecordNo": 1, "OrganizationMemberFK": 2, "OrganizationRoleFK": 3, "CreatedOn": "2024-12-22T10:40:46.9416735+00:00", "UpdatedOn": "2024-12-22T10:40:46.9416735+00:00", "IsDeleted": true }, { "RecordNo": 1, "OrganizationMemberFK": 2, "OrganizationRoleFK": 3, "CreatedOn": "2024-12-22T10:40:46.9416735+00:00", "UpdatedOn": "2024-12-22T10:40:46.9416735+00:00", "IsDeleted": true } ] }
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.