latestSwagger 2.02026-08-1766151238.8 KB

a444c5b1e78b

Item

Created a new item

post/api/item

Request body

descriptionstring
codestring
salePricenumber double required
isOverrideHourlyRateboolean
isDeletedboolean
createdDatestring date-time
lastModifiedDatestring date-time
tax1Guidstring uuid

Used to set the reference in POST and PUT

tax2Guidstring uuid

Used to set the reference in POST and PUT

chartOfAccountIdinteger
chartOfAccountGuidstring uuid

Used to set the reference in POST and PUT

chartOfAccountNamestring
guidstring uuid
namestring required

Example request

{
  "createdBy": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "lastModifiedBy": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "tax1Guid": "00000000-0000-0000-0000-000000000000",
  "tax1": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "tax2Guid": "00000000-0000-0000-0000-000000000000",
  "tax2": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "chartOfAccountGuid": "00000000-0000-0000-0000-000000000000",
  "guid": "00000000-0000-0000-0000-000000000000"
}

Response

OK

descriptionstring
codestring
salePricenumber double required
isOverrideHourlyRateboolean
isDeletedboolean
createdDatestring date-time
lastModifiedDatestring date-time
tax1Guidstring uuid

Used to set the reference in POST and PUT

tax2Guidstring uuid

Used to set the reference in POST and PUT

chartOfAccountIdinteger
chartOfAccountGuidstring uuid

Used to set the reference in POST and PUT

chartOfAccountNamestring
guidstring uuid
namestring required

Example response

{
  "createdBy": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "lastModifiedBy": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "tax1Guid": "00000000-0000-0000-0000-000000000000",
  "tax1": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "tax2Guid": "00000000-0000-0000-0000-000000000000",
  "tax2": {
    "guid": "00000000-0000-0000-0000-000000000000"
  },
  "chartOfAccountGuid": "00000000-0000-0000-0000-000000000000",
  "guid": "00000000-0000-0000-0000-000000000000"
}