POST api/Marca
Request Information
URI Parameters
None.
Body Parameters
MarcaRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| IdExterno | integer |
None. |
|
| Nombre | string |
None. |
|
| Prefijo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdExterno": 1,
"Nombre": "sample string 2",
"Prefijo": "sample string 3"
}
application/xml, text/xml
Sample:
<MarcaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.IO"> <IdExterno>1</IdExterno> <Nombre>sample string 2</Nombre> <Prefijo>sample string 3</Prefijo> </MarcaRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MarcaResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| responseCode | integer |
None. |
|
| responseMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseCode": 1,
"responseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<MarcaResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.IO"> <responseCode>1</responseCode> <responseMessage>sample string 2</responseMessage> </MarcaResponse>