POST api/cntstockvac
Request Information
URI Parameters
None.
Body Parameters
CntStkVacRQTName | Description | Type | Additional information |
---|---|---|---|
IDUSer | integer |
None. |
|
IDRol | integer |
None. |
|
Entidad | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "IDUSer": 1, "IDRol": 2, "Entidad": "sample string 3" }
text/xml
Sample:
<CntStkVacRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models"> <Entidad>sample string 3</Entidad> <IDRol>2</IDRol> <IDUSer>1</IDUSer> </CntStkVacRQT>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CntStkVacRPSName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of CntStkVacListRPS |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "Tipo": "sample string 1", "Cantidad": 2 }, { "Tipo": "sample string 1", "Cantidad": 2 } ] }
text/xml
Sample:
<CntStkVacRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models"> <Data> <CntStkVacListRPS> <Cantidad>2</Cantidad> <Tipo>sample string 1</Tipo> </CntStkVacListRPS> <CntStkVacListRPS> <Cantidad>2</Cantidad> <Tipo>sample string 1</Tipo> </CntStkVacListRPS> </Data> </CntStkVacRPS>