POST api/MonthlyZerosObs

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
saveMonthlyZerosRequest
Documentation for 'saveMonthlyZerosRequest'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "stationNumber": "sample string 1",
  "zeroObsDates": [
    "2024-12-19T16:13:42.5237538+00:00",
    "2024-12-19T16:13:42.5237538+00:00",
    "2024-12-19T16:13:42.5237538+00:00"
  ],
  "entryDateTime": "2024-12-19T16:13:42.5237538+00:00",
  "source": "sample string 3"
}

application/xml, text/xml

Sample:
<SaveMonthlyZerosObsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cocorahs.Models">
  <EntryDateTime>2024-12-19T16:13:42.5237538+00:00</EntryDateTime>
  <Source>sample string 3</Source>
  <StationNumber>sample string 1</StationNumber>
  <ZeroObsDates xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:dateTime>2024-12-19T16:13:42.5237538+00:00</d2p1:dateTime>
    <d2p1:dateTime>2024-12-19T16:13:42.5237538+00:00</d2p1:dateTime>
    <d2p1:dateTime>2024-12-19T16:13:42.5237538+00:00</d2p1:dateTime>
  </ZeroObsDates>
</SaveMonthlyZerosObsRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.