POST SupplierClassification/SupplierClassification_Insert

Request Information

URI Parameters

None.

Body Parameters

SupplierClassification
NameDescriptionTypeAdditional information
Id

integer

None.

PrimaryName

string

None.

Name

string

None.

SecondaryName

string

None.

CompanyId

integer

None.

ModifiedBy

integer

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PrimaryName": "sample string 2",
  "Name": "sample string 3",
  "SecondaryName": "sample string 4",
  "CompanyId": 5,
  "ModifiedBy": 6,
  "CreatedBy": 7,
  "CreatedOn": "2025-10-29T05:50:18.7787101+03:00",
  "ModifiedOn": "2025-10-29T05:50:18.7787101+03:00"
}

application/xml, text/xml

Sample:
<SupplierClassification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POCO">
  <CompanyId>5</CompanyId>
  <CreatedBy>7</CreatedBy>
  <CreatedOn>2025-10-29T05:50:18.7787101+03:00</CreatedOn>
  <Id>1</Id>
  <ModifiedBy>6</ModifiedBy>
  <ModifiedOn>2025-10-29T05:50:18.7787101+03:00</ModifiedOn>
  <Name>sample string 3</Name>
  <PrimaryName>sample string 2</PrimaryName>
  <SecondaryName>sample string 4</SecondaryName>
</SupplierClassification>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
ErrorCode

integer

None.

ErrorMessage

string

None.

IsScusses

boolean

None.

ResponseDetails

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "ErrorMessage": "sample string 2",
  "IsScusses": true,
  "ResponseDetails": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accounting.API.Models">
  <ErrorCode>1</ErrorCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsScusses>true</IsScusses>
  <ResponseDetails />
</Response>