POST api/Porterias
Request Information
URI Parameters
None.
Body Parameters
Collection of PorteriaVMName | Description | Type | Additional information |
---|---|---|---|
Legajo | integer |
None. |
|
Planta | integer |
None. |
|
fecha | date |
None. |
|
hora | string |
None. |
|
message | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Legajo": 1, "Planta": 1, "fecha": "2024-11-21T07:12:57.5783925-03:00", "hora": "sample string 2", "message": "sample string 3" }, { "Legajo": 1, "Planta": 1, "fecha": "2024-11-21T07:12:57.5783925-03:00", "hora": "sample string 2", "message": "sample string 3" } ]
text/html
Sample:
[{"Legajo":1,"Planta":1,"fecha":"2024-11-21T07:12:57.5783925-03:00","hora":"sample string 2","message":"sample string 3"},{"Legajo":1,"Planta":1,"fecha":"2024-11-21T07:12:57.5783925-03:00","hora":"sample string 2","message":"sample string 3"}]
application/xml, text/xml
Sample:
<ArrayOfPorteriasController.PorteriaVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Controllers"> <PorteriasController.PorteriaVM> <Legajo>1</Legajo> <Planta>1</Planta> <fecha>2024-11-21T07:12:57.5783925-03:00</fecha> <hora>sample string 2</hora> <message>sample string 3</message> </PorteriasController.PorteriaVM> <PorteriasController.PorteriaVM> <Legajo>1</Legajo> <Planta>1</Planta> <fecha>2024-11-21T07:12:57.5783925-03:00</fecha> <hora>sample string 2</hora> <message>sample string 3</message> </PorteriasController.PorteriaVM> </ArrayOfPorteriasController.PorteriaVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReplyName | Description | Type | Additional information |
---|---|---|---|
message | string |
None. |
|
result | integer |
None. |
|
data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "message": "sample string 1", "result": 2, "data": {} }
text/html
Sample:
{"message":"sample string 1","result":2,"data":{}}
application/xml, text/xml
Sample:
<Reply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.webapplications1.Models.WS"> <data /> <message>sample string 1</message> <result>2</result> </Reply>