POST api/Batch

Request Information

URI Parameters

None.

Body Parameters

Collection of BatchData
NameDescriptionTypeAdditional information
tipo

integer

None.

data

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "tipo": 1,
    "data": "sample string 2"
  },
  {
    "tipo": 1,
    "data": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBatchController.BatchData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalProviders.Controllers">
  <BatchController.BatchData>
    <data>sample string 2</data>
    <tipo>1</tipo>
  </BatchController.BatchData>
  <BatchController.BatchData>
    <data>sample string 2</data>
    <tipo>1</tipo>
  </BatchController.BatchData>
</ArrayOfBatchController.BatchData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SimpleResponse
NameDescriptionTypeAdditional information
Error

boolean

None.

Mensaje

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": true,
  "Mensaje": "sample string 2"
}

application/xml, text/xml

Sample:
<SimpleResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ExternalProviders.Models">
  <Error>true</Error>
  <Mensaje>sample string 2</Mensaje>
</SimpleResponse>