POST api/SuraMonitoreo/SendMultipleMonitoreo

Request Information

URI Parameters

None.

Body Parameters

Collection of InboundMonitoreo
NameDescriptionTypeAdditional information
Destination

string

Required

Max length: 20

SupplierNotification

boolean

Required

Services

Collection of InboundBody

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Destination": "sample string 1",
    "SupplierNotification": true,
    "Services": [
      {
        "Phone": "sample string 1",
        "TaskId": "sample string 2",
        "TaskType": "sample string 3",
        "Line": "sample string 4",
        "TypeOfMonitoring": "sample string 5",
        "ExpedientNumber": "sample string 6",
        "OfferPlate": "sample string 7",
        "ServiceName": "sample string 8"
      },
      {
        "Phone": "sample string 1",
        "TaskId": "sample string 2",
        "TaskType": "sample string 3",
        "Line": "sample string 4",
        "TypeOfMonitoring": "sample string 5",
        "ExpedientNumber": "sample string 6",
        "OfferPlate": "sample string 7",
        "ServiceName": "sample string 8"
      }
    ]
  },
  {
    "Destination": "sample string 1",
    "SupplierNotification": true,
    "Services": [
      {
        "Phone": "sample string 1",
        "TaskId": "sample string 2",
        "TaskType": "sample string 3",
        "Line": "sample string 4",
        "TypeOfMonitoring": "sample string 5",
        "ExpedientNumber": "sample string 6",
        "OfferPlate": "sample string 7",
        "ServiceName": "sample string 8"
      },
      {
        "Phone": "sample string 1",
        "TaskId": "sample string 2",
        "TaskType": "sample string 3",
        "Line": "sample string 4",
        "TypeOfMonitoring": "sample string 5",
        "ExpedientNumber": "sample string 6",
        "OfferPlate": "sample string 7",
        "ServiceName": "sample string 8"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfSuraMonitoreoController.InboundMonitoreo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ingeneo.Chattigo.WebAPI.Controllers">
  <SuraMonitoreoController.InboundMonitoreo>
    <Destination>sample string 1</Destination>
    <Services>
      <SuraMonitoreoController.InboundBody>
        <ExpedientNumber>sample string 6</ExpedientNumber>
        <Line>sample string 4</Line>
        <OfferPlate>sample string 7</OfferPlate>
        <Phone>sample string 1</Phone>
        <ServiceName>sample string 8</ServiceName>
        <TaskId>sample string 2</TaskId>
        <TaskType>sample string 3</TaskType>
        <TypeOfMonitoring>sample string 5</TypeOfMonitoring>
      </SuraMonitoreoController.InboundBody>
      <SuraMonitoreoController.InboundBody>
        <ExpedientNumber>sample string 6</ExpedientNumber>
        <Line>sample string 4</Line>
        <OfferPlate>sample string 7</OfferPlate>
        <Phone>sample string 1</Phone>
        <ServiceName>sample string 8</ServiceName>
        <TaskId>sample string 2</TaskId>
        <TaskType>sample string 3</TaskType>
        <TypeOfMonitoring>sample string 5</TypeOfMonitoring>
      </SuraMonitoreoController.InboundBody>
    </Services>
    <SupplierNotification>true</SupplierNotification>
  </SuraMonitoreoController.InboundMonitoreo>
  <SuraMonitoreoController.InboundMonitoreo>
    <Destination>sample string 1</Destination>
    <Services>
      <SuraMonitoreoController.InboundBody>
        <ExpedientNumber>sample string 6</ExpedientNumber>
        <Line>sample string 4</Line>
        <OfferPlate>sample string 7</OfferPlate>
        <Phone>sample string 1</Phone>
        <ServiceName>sample string 8</ServiceName>
        <TaskId>sample string 2</TaskId>
        <TaskType>sample string 3</TaskType>
        <TypeOfMonitoring>sample string 5</TypeOfMonitoring>
      </SuraMonitoreoController.InboundBody>
      <SuraMonitoreoController.InboundBody>
        <ExpedientNumber>sample string 6</ExpedientNumber>
        <Line>sample string 4</Line>
        <OfferPlate>sample string 7</OfferPlate>
        <Phone>sample string 1</Phone>
        <ServiceName>sample string 8</ServiceName>
        <TaskId>sample string 2</TaskId>
        <TaskType>sample string 3</TaskType>
        <TypeOfMonitoring>sample string 5</TypeOfMonitoring>
      </SuraMonitoreoController.InboundBody>
    </Services>
    <SupplierNotification>true</SupplierNotification>
  </SuraMonitoreoController.InboundMonitoreo>
</ArrayOfSuraMonitoreoController.InboundMonitoreo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.