PUT api/DivisionMaster?DIVISION_CODE={DIVISION_CODE}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DIVISION_CODE

string

Required

Body Parameters

DivisionMaster
NameDescriptionTypeAdditional information
MID

integer

Required

DIVISION_CODE

string

Required

Max length: 1

DESCRIPTION

string

Required

Max length: 40

DIVISION

string

Required

Max length: 1

REPORT_DEFAULT

string

Max length: 1

ABBREVIATION

string

Max length: 4

SYSTEM_DATE

date

None.

COSTCODE_METAL

string

Max length: 6

ISCURRENCY

boolean

None.

DESCRIPTION_OTHER

string

Max length: 100

COSTCODE_MAKING

string

Max length: 6

METAL_PURITY

decimal number

None.

DESCRIPTION_CHINESE

string

Required

Max length: 250

DESCRIPTION_TURKISH

string

Required

Max length: 250

AUTOFIXSTOCK

string

Max length: 15

Request Formats

application/json, text/json

Sample:
{
  "MID": 1,
  "DIVISION_CODE": "sample string 2",
  "DESCRIPTION": "sample string 3",
  "DIVISION": "sample string 4",
  "REPORT_DEFAULT": "sample string 5",
  "ABBREVIATION": "sample string 6",
  "SYSTEM_DATE": "2025-12-16T07:34:07.818908+04:00",
  "COSTCODE_METAL": "sample string 8",
  "ISCURRENCY": true,
  "DESCRIPTION_OTHER": "sample string 10",
  "COSTCODE_MAKING": "sample string 11",
  "METAL_PURITY": 12.1,
  "DESCRIPTION_CHINESE": "sample string 13",
  "DESCRIPTION_TURKISH": "sample string 14",
  "AUTOFIXSTOCK": "sample string 15"
}

text/html

Sample:
{"MID":1,"DIVISION_CODE":"sample string 2","DESCRIPTION":"sample string 3","DIVISION":"sample string 4","REPORT_DEFAULT":"sample string 5","ABBREVIATION":"sample string 6","SYSTEM_DATE":"2025-12-16T07:34:07.818908+04:00","COSTCODE_METAL":"sample string 8","ISCURRENCY":true,"DESCRIPTION_OTHER":"sample string 10","COSTCODE_MAKING":"sample string 11","METAL_PURITY":12.1,"DESCRIPTION_CHINESE":"sample string 13","DESCRIPTION_TURKISH":"sample string 14","AUTOFIXSTOCK":"sample string 15"}

application/xml, text/xml

Sample:
<DivisionMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webAppApi.Models.Master">
  <ABBREVIATION>sample string 6</ABBREVIATION>
  <AUTOFIXSTOCK>sample string 15</AUTOFIXSTOCK>
  <COSTCODE_MAKING>sample string 11</COSTCODE_MAKING>
  <COSTCODE_METAL>sample string 8</COSTCODE_METAL>
  <DESCRIPTION>sample string 3</DESCRIPTION>
  <DESCRIPTION_CHINESE>sample string 13</DESCRIPTION_CHINESE>
  <DESCRIPTION_OTHER>sample string 10</DESCRIPTION_OTHER>
  <DESCRIPTION_TURKISH>sample string 14</DESCRIPTION_TURKISH>
  <DIVISION>sample string 4</DIVISION>
  <DIVISION_CODE>sample string 2</DIVISION_CODE>
  <ISCURRENCY>true</ISCURRENCY>
  <METAL_PURITY>12.1</METAL_PURITY>
  <MID>1</MID>
  <REPORT_DEFAULT>sample string 5</REPORT_DEFAULT>
  <SYSTEM_DATE>2025-12-16T07:34:07.818908+04:00</SYSTEM_DATE>
</DivisionMaster>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />