POST api/ModuleInfo/Add
Request Information
URI Parameters
None.
Body Parameters
ModuleInfoAddDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
Required |
|
| Code | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"code": "sample string 2"
}
application/xml, text/xml
Sample:
<ModuleInfoAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <Code>sample string 2</Code> <Name>sample string 1</Name> </ModuleInfoAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Name":"sample string 1","Code":"sample string 2"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.