POST api/agend-scroll/simulate

Simulate a scrolling based on the provided date and times

Request Information

URI Parameters

None.

Body Parameters

WilsonSons.Terminais.WSNegocio.API.Controllers.AgendScrollingController+SimulateBody
NameDescriptionTypeAdditional information
AgendTipoIds

Collection of integer

None.

InitialDateTime

date

None.

FinalDateTime

date

None.

Capacids

Collection of WilsonSons.Terminais.WSNegocio.Negocio.Core.AgendScroll+ChangedCapacid

None.

AgendChanges

Collection of WilsonSons.Terminais.WSNegocio.Negocio.Core.AgendScroll+ChangedAgend

None.

Request Formats

application/json, text/json

Sample:
{
  "AgendTipoIds": [
    1,
    2
  ],
  "InitialDateTime": "2026-02-03T23:16:34.6049663-03:00",
  "FinalDateTime": "2026-02-03T23:16:34.6049663-03:00",
  "Capacids": [
    {
      "DateTime": "2026-02-03T23:16:34.6049663-03:00",
      "FainaId": 2.0,
      "Capacid": 3
    },
    {
      "DateTime": "2026-02-03T23:16:34.6049663-03:00",
      "FainaId": 2.0,
      "Capacid": 3
    }
  ],
  "AgendChanges": [
    {
      "AgendId": 1.0,
      "OriginalDateTime": "2026-02-03T23:16:34.6049663-03:00",
      "ChangedDateTime": "2026-02-03T23:16:34.6049663-03:00",
      "Slots": 4,
      "HourCapacidByType": 5,
      "IndStatus": 6,
      "Message": "sample string 7",
      "Status": null
    },
    {
      "AgendId": 1.0,
      "OriginalDateTime": "2026-02-03T23:16:34.6049663-03:00",
      "ChangedDateTime": "2026-02-03T23:16:34.6049663-03:00",
      "Slots": 4,
      "HourCapacidByType": 5,
      "IndStatus": 6,
      "Message": "sample string 7",
      "Status": null
    }
  ]
}

application/xml, text/xml

Sample:
<AgendScrollingController.SimulateBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.API.Controllers">
  <AgendChanges xmlns:d2p1="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Negocio.Core">
    <d2p1:AgendScroll.ChangedAgend>
      <d2p1:AgendId>1</d2p1:AgendId>
      <d2p1:ChangedDateTime>2026-02-03T23:16:34.6049663-03:00</d2p1:ChangedDateTime>
      <d2p1:HourCapacidByType>5</d2p1:HourCapacidByType>
      <d2p1:IndStatus>6</d2p1:IndStatus>
      <d2p1:Message>sample string 7</d2p1:Message>
      <d2p1:OriginalDateTime>2026-02-03T23:16:34.6049663-03:00</d2p1:OriginalDateTime>
      <d2p1:Slots>4</d2p1:Slots>
    </d2p1:AgendScroll.ChangedAgend>
    <d2p1:AgendScroll.ChangedAgend>
      <d2p1:AgendId>1</d2p1:AgendId>
      <d2p1:ChangedDateTime>2026-02-03T23:16:34.6049663-03:00</d2p1:ChangedDateTime>
      <d2p1:HourCapacidByType>5</d2p1:HourCapacidByType>
      <d2p1:IndStatus>6</d2p1:IndStatus>
      <d2p1:Message>sample string 7</d2p1:Message>
      <d2p1:OriginalDateTime>2026-02-03T23:16:34.6049663-03:00</d2p1:OriginalDateTime>
      <d2p1:Slots>4</d2p1:Slots>
    </d2p1:AgendScroll.ChangedAgend>
  </AgendChanges>
  <AgendTipoIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </AgendTipoIds>
  <Capacids xmlns:d2p1="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Negocio.Core">
    <d2p1:AgendScroll.ChangedCapacid>
      <d2p1:Capacid>3</d2p1:Capacid>
      <d2p1:DateTime>2026-02-03T23:16:34.6049663-03:00</d2p1:DateTime>
      <d2p1:FainaId>2</d2p1:FainaId>
    </d2p1:AgendScroll.ChangedCapacid>
    <d2p1:AgendScroll.ChangedCapacid>
      <d2p1:Capacid>3</d2p1:Capacid>
      <d2p1:DateTime>2026-02-03T23:16:34.6049663-03:00</d2p1:DateTime>
      <d2p1:FainaId>2</d2p1:FainaId>
    </d2p1:AgendScroll.ChangedCapacid>
  </Capacids>
  <FinalDateTime>2026-02-03T23:16:34.6049663-03:00</FinalDateTime>
  <InitialDateTime>2026-02-03T23:16:34.6049663-03:00</InitialDateTime>
</AgendScrollingController.SimulateBody>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.