GET api/Empresas/getContratoStatus?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
contratoStatusResponseName | Description | Type | Additional information |
---|---|---|---|
content | Collection of SP_getContratoStatus_Result |
None. |
|
status | integer |
None. |
|
message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "content": [ { "ContratoStatusID": 1, "EmpresaID": 2, "Nombre": "sample string 3", "TipoContratoID": 1, "Prioridad": 1, "ContratoSolicitudID": 1, "StatusID": 4, "StatusNombre": "sample string 5", "Descripcion": "sample string 6", "FlagActivo": true, "INSERT_DATE": "2024-11-28T15:25:48.0651445-05:00" }, { "ContratoStatusID": 1, "EmpresaID": 2, "Nombre": "sample string 3", "TipoContratoID": 1, "Prioridad": 1, "ContratoSolicitudID": 1, "StatusID": 4, "StatusNombre": "sample string 5", "Descripcion": "sample string 6", "FlagActivo": true, "INSERT_DATE": "2024-11-28T15:25:48.0651445-05:00" } ], "status": 1, "message": "sample string 2" }
application/xml, text/xml
Sample:
<contratoStatusResponse 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> <content xmlns:d2p1="http://schemas.datacontract.org/2004/07/EXPU_Backend"> <d2p1:SP_getContratoStatus_Result> <d2p1:ContratoSolicitudID>1</d2p1:ContratoSolicitudID> <d2p1:ContratoStatusID>1</d2p1:ContratoStatusID> <d2p1:Descripcion>sample string 6</d2p1:Descripcion> <d2p1:EmpresaID>2</d2p1:EmpresaID> <d2p1:FlagActivo>true</d2p1:FlagActivo> <d2p1:INSERT_DATE>2024-11-28T15:25:48.0651445-05:00</d2p1:INSERT_DATE> <d2p1:Nombre>sample string 3</d2p1:Nombre> <d2p1:Prioridad>1</d2p1:Prioridad> <d2p1:StatusID>4</d2p1:StatusID> <d2p1:StatusNombre>sample string 5</d2p1:StatusNombre> <d2p1:TipoContratoID>1</d2p1:TipoContratoID> </d2p1:SP_getContratoStatus_Result> <d2p1:SP_getContratoStatus_Result> <d2p1:ContratoSolicitudID>1</d2p1:ContratoSolicitudID> <d2p1:ContratoStatusID>1</d2p1:ContratoStatusID> <d2p1:Descripcion>sample string 6</d2p1:Descripcion> <d2p1:EmpresaID>2</d2p1:EmpresaID> <d2p1:FlagActivo>true</d2p1:FlagActivo> <d2p1:INSERT_DATE>2024-11-28T15:25:48.0651445-05:00</d2p1:INSERT_DATE> <d2p1:Nombre>sample string 3</d2p1:Nombre> <d2p1:Prioridad>1</d2p1:Prioridad> <d2p1:StatusID>4</d2p1:StatusID> <d2p1:StatusNombre>sample string 5</d2p1:StatusNombre> <d2p1:TipoContratoID>1</d2p1:TipoContratoID> </d2p1:SP_getContratoStatus_Result> </content> </contratoStatusResponse>