POST api/Counting/AddCounting

Request Information

URI Parameters

None.

Body Parameters

CountingListUrlEntity
NameDescriptionTypeAdditional information
CountDateTime

date

None.

UserName

string

None.

CountingList

Collection of CountingUrlEntity

None.

Request Formats

application/json, text/json

Sample:
{
  "countDateTime": "2026-01-04T16:06:58.1784759+08:00",
  "userName": "sample string 1",
  "countingList": [
    {
      "jobId": 1,
      "jobIndex": 2,
      "count": 3.1
    },
    {
      "jobId": 1,
      "jobIndex": 2,
      "count": 3.1
    }
  ]
}

application/xml, text/xml

Sample:
<CountingListUrlEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vis.Entity">
  <CountDateTime>2026-01-04T16:06:58.1784759+08:00</CountDateTime>
  <CountingList>
    <CountingUrlEntity>
      <Count>3.1</Count>
      <JobId>1</JobId>
      <JobIndex>2</JobIndex>
    </CountingUrlEntity>
    <CountingUrlEntity>
      <Count>3.1</Count>
      <JobId>1</JobId>
      <JobIndex>2</JobIndex>
    </CountingUrlEntity>
  </CountingList>
  <UserName>sample string 1</UserName>
</CountingListUrlEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.