POST api/SuspendedUser
Request Information
URI Parameters
None.
Body Parameters
SuspendendUserName | Description | Type | Additional information |
---|---|---|---|
RecordNo | integer |
None. |
|
AspNetUserFK | integer |
None. |
|
Reason | string |
None. |
|
SuspenstionTypeFK | integer |
None. |
|
Suspended | SuspenstionType |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
CreatedBy | integer |
None. |
|
CreatedOn | date |
None. |
|
UpdatedOn | date |
None. |
|
IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "RecordNo": 1, "AspNetUserFK": 2, "Reason": "sample string 3", "SuspenstionTypeFK": 4, "Suspended": { "RecordNo": 1, "SuspensionTypeName": "sample string 2", "CreatedOn": "2024-12-22T23:23:20.7014662+00:00", "UpdatedOn": "2024-12-22T23:23:20.7014662+00:00", "IsDeleted": true }, "StartDate": "2024-12-22T23:23:20.7014662+00:00", "EndDate": "2024-12-22T23:23:20.7014662+00:00", "CreatedBy": 6, "CreatedOn": "2024-12-22T23:23:20.7014662+00:00", "UpdatedOn": "2024-12-22T23:23:20.7014662+00:00", "IsDeleted": true }
application/xml, text/xml
Sample:
<SuspendendUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrishAcademy.Models"> <AspNetUserFK>2</AspNetUserFK> <CreatedBy>6</CreatedBy> <CreatedOn>2024-12-22T23:23:20.7014662+00:00</CreatedOn> <EndDate>2024-12-22T23:23:20.7014662+00:00</EndDate> <IsDeleted>true</IsDeleted> <Reason>sample string 3</Reason> <RecordNo>1</RecordNo> <StartDate>2024-12-22T23:23:20.7014662+00:00</StartDate> <Suspended> <CreatedOn>2024-12-22T23:23:20.7014662+00:00</CreatedOn> <IsDeleted>true</IsDeleted> <RecordNo>1</RecordNo> <SuspensionTypeName>sample string 2</SuspensionTypeName> <UpdatedOn>2024-12-22T23:23:20.7014662+00:00</UpdatedOn> </Suspended> <SuspenstionTypeFK>4</SuspenstionTypeFK> <UpdatedOn>2024-12-22T23:23:20.7014662+00:00</UpdatedOn> </SuspendendUser>
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.