POST api/admin/contract_types/v1/add

Request Information

URI Parameters

None.

Body Parameters

SupplierContractType
NameDescriptionTypeAdditional information
id

integer

None.

active

boolean

None.

name

string

None.

other

string

None.

last_modified

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "active": true,
  "name": "sample string 3",
  "other": "sample string 4",
  "last_modified": "2025-12-06T04:29:57.1251213+00:00"
}

application/xml, text/xml

Sample:
<SupplierContractType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Stocks.Models">
  <active>true</active>
  <id>1</id>
  <last_modified>2025-12-06T04:29:57.1251213+00:00</last_modified>
  <name>sample string 3</name>
  <other>sample string 4</other>
</SupplierContractType>

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.