POST api/GenericCrud/Delete?username={username}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
Required |
Body Parameters
GenericDeleteRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ObjectTypeName | string |
None. |
|
| ObjectKeyString | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ObjectTypeName": "sample string 1",
"ObjectKeyString": "sample string 2"
}
text/html
Sample:
{"ObjectTypeName":"sample string 1","ObjectKeyString":"sample string 2"}
Response Information
Resource Description
GenericTransactionResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ReturnedObject | Object |
None. |
|
| IsSuccessful |
Indicates if the transaction was successful or not. |
boolean |
None. |
| ReturnedMessages |
Contains a list of Informational, Warning, and/or Error messages regarding the outcome of the transaction. |
Collection of ReturnedMessage |
None. |
Response Formats
application/json, text/json
Sample:
{
"ReturnedObject": {},
"IsSuccessful": true,
"ReturnedMessages": null
}
text/html
Sample:
{"ReturnedObject":{},"IsSuccessful":true,"ReturnedMessages":null}