POST Api/SuportMaterialType/Add
Request Information
URI Parameters
None.
Body Parameters
SupportFilesTypeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| idSupportMaterialType | integer |
None. |
|
| SupportMaterialType | string |
None. |
|
| allowedExtenstions | string |
None. |
|
| status | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"idSupportMaterialType": 1,
"SupportMaterialType": "sample string 2",
"allowedExtenstions": "sample string 3",
"status": true
}
application/xml, text/xml
Sample:
<SupportFilesTypeRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <idSupportMaterialType>1</idSupportMaterialType> <SupportMaterialType>sample string 2</SupportMaterialType> <allowedExtenstions>sample string 3</allowedExtenstions> <status>true</status> </SupportFilesTypeRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GenericResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success |
La solicitud se realizo correctamente |
boolean |
None. |
| error |
Error arrojado por la API |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"error": "sample string 2"
}
application/xml, text/xml
Sample:
<GenericResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <success>true</success> <error>sample string 2</error> </GenericResponse>