POST Api/InventoryCountConfig/InventoryCategory

Request Information

URI Parameters

None.

Body Parameters

InventoryCountConfigInventoryCategory
NameDescriptionTypeAdditional information
InventoryCountConfigInventoryCategoryId

integer

None.

InventoryCountConfigId

integer

None.

InventoryCategoryId

integer

None.

InventoryCountConfig

InventoryCountConfig

None.

InventoryCategory

InventoryCategory

None.

Request Formats

application/json, text/json

Sample:
{
  "inventoryCountConfigInventoryCategoryId": 1,
  "inventoryCountConfigId": 2,
  "inventoryCategoryId": 3,
  "inventoryCountConfig": {
    "inventoryCountConfigId": 1,
    "countTypeId": 2,
    "startDate": "2026-05-06T00:14:27.9592276+02:00",
    "frequency": "sample string 3",
    "roleFilter": "sample string 4",
    "numberOfDaysTillLate": 5,
    "defaultTurnOverRateThreshold": 6,
    "minimumNumberOnHand": 7,
    "countType": {
      "countTypeId": 1,
      "name": "sample string 2"
    },
    "inventoryCategories": []
  },
  "inventoryCategory": {
    "inventoryCategoryId": 1,
    "name": "sample string 2",
    "isPatientResponsibility": true,
    "isInsuranceponsibility": true,
    "isActive": true
  }
}

text/html

Sample:
{"inventoryCountConfigInventoryCategoryId":1,"inventoryCountConfigId":2,"inventoryCategoryId":3,"inventoryCountConfig":{"inventoryCountConfigId":1,"countTypeId":2,"startDate":"2026-05-06T00:14:27.9592276+02:00","frequency":"sample string 3","roleFilter":"sample string 4","numberOfDaysTillLate":5,"defaultTurnOverRateThreshold":6,"minimumNumberOnHand":7,"countType":{"countTypeId":1,"name":"sample string 2"},"inventoryCategories":[]},"inventoryCategory":{"inventoryCategoryId":1,"name":"sample string 2","isPatientResponsibility":true,"isInsuranceponsibility":true,"isActive":true}}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[UrgentCareExtra.Data.Models.InventoryCountConfigInventoryCategory, UrgentCareExtra.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[UrgentCareExtra.Data.Models.InventoryCountConfigInventoryCategory, UrgentCareExtra.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.