POST Api/InventoryCountConfig/Add

Request Information

URI Parameters

None.

Body Parameters

InventoryCountConfigViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

CountTypeId

integer

None.

Frequency

string

None.

StartDate

date

None.

NumberOfDaysTillLate

integer

None.

DefaultTurnOverRateThreshold

integer

None.

MinimumNumberOnHand

integer

None.

RoleFilter

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "countTypeId": 2,
  "frequency": "sample string 3",
  "startDate": "2026-05-06T03:13:53.8270943+02:00",
  "numberOfDaysTillLate": 4,
  "defaultTurnOverRateThreshold": 5,
  "minimumNumberOnHand": 6,
  "roleFilter": "sample string 7"
}

text/html

Sample:
{"id":1,"countTypeId":2,"frequency":"sample string 3","startDate":"2026-05-06T03:13:53.8270943+02:00","numberOfDaysTillLate":4,"defaultTurnOverRateThreshold":5,"minimumNumberOnHand":6,"roleFilter":"sample string 7"}

application/xml, text/xml

Sample:
<InventoryCountConfigViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.ViewModels.ViewModels">
  <CountTypeId>2</CountTypeId>
  <DefaultTurnOverRateThreshold>5</DefaultTurnOverRateThreshold>
  <Frequency>sample string 3</Frequency>
  <Id>1</Id>
  <MinimumNumberOnHand>6</MinimumNumberOnHand>
  <NumberOfDaysTillLate>4</NumberOfDaysTillLate>
  <RoleFilter>sample string 7</RoleFilter>
  <StartDate>2026-05-06T03:13:53.8270943+02:00</StartDate>
</InventoryCountConfigViewModel>

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 'InventoryCountConfigViewModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.