POST api/Empresas/updateStatus1
Request Information
URI Parameters
None.
Body Parameters
contratoEmpresaObjName | Description | Type | Additional information |
---|---|---|---|
EmpresaID | integer |
None. |
|
Nombre | string |
None. |
|
StatusContrato | integer |
None. |
|
StatusNombre | string |
None. |
|
TipoContratoID | integer |
None. |
|
Prioridad | integer |
None. |
|
NivelSeguridad | integer |
None. |
|
NombreTC | string |
None. |
|
UrlContrato | string |
None. |
|
UPDATE_DATE | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmpresaID": 1, "Nombre": "sample string 2", "StatusContrato": 1, "StatusNombre": "sample string 3", "TipoContratoID": 1, "Prioridad": 1, "NivelSeguridad": 1, "NombreTC": "sample string 4", "UrlContrato": "sample string 5", "UPDATE_DATE": "2024-11-28T02:31:03.9675673-05:00" }
application/xml, text/xml
Sample:
<contratoEmpresaObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend.Models"> <EmpresaID>1</EmpresaID> <NivelSeguridad>1</NivelSeguridad> <Nombre>sample string 2</Nombre> <NombreTC>sample string 4</NombreTC> <Prioridad>1</Prioridad> <StatusContrato>1</StatusContrato> <StatusNombre>sample string 3</StatusNombre> <TipoContratoID>1</TipoContratoID> <UPDATE_DATE>2024-11-28T02:31:03.9675673-05:00</UPDATE_DATE> <UrlContrato>sample string 5</UrlContrato> </contratoEmpresaObj>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
defaultResponseName | Description | Type | Additional information |
---|---|---|---|
status | integer |
None. |
|
message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": 1, "message": "sample string 2" }
application/xml, text/xml
Sample:
<defaultResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend.Models"> <message>sample string 2</message> <status>1</status> </defaultResponse>