POST api/admin/masters/AddOrEditReportType
Request Information
URI Parameters
None.
Body Parameters
ReportTypeSaveDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ReportTypeID | integer |
None. |
|
| ReportTypeName | string |
Required |
|
| UserName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ReportTypeID": 1,
"ReportTypeName": "sample string 2",
"UserName": "sample string 3"
}
application/xml, text/xml
Sample:
<ReportTypeSaveDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Married.Entities.customsmodels"> <ReportTypeID>1</ReportTypeID> <ReportTypeName>sample string 2</ReportTypeName> <UserName>sample string 3</UserName> </ReportTypeSaveDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Data | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Data": "sample string 2",
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Married.Entities.models"> <Data>sample string 2</Data> <Message>sample string 3</Message> <Success>true</Success> </ApiResponseOfstring>