POST api/karatMaster
Request Information
URI Parameters
None.
Body Parameters
KaratMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| MID | integer |
Required |
|
| KARAT_CODE | string |
Required |
|
| STD_PURITY | decimal number |
None. |
|
| PURITY_FROM | decimal number |
None. |
|
| PURITY_TO | decimal number |
None. |
|
| SYSTEM_DATE | date |
None. |
|
| KARAT_DESC | string |
Max length: 40 |
|
| SPGRVT | decimal number |
None. |
|
| POSMINMAXAMT | decimal number |
Required |
|
| KARAT_AR | string |
Max length: 20 |
|
| DIVISION_CODE | string |
Required Max length: 1 |
|
| POPMINMAXAMT | decimal number |
Required |
Request Formats
application/json, text/json
Sample:
{
"MID": 1,
"KARAT_CODE": "sample string 2",
"STD_PURITY": 3.1,
"PURITY_FROM": 4.1,
"PURITY_TO": 5.1,
"SYSTEM_DATE": "2025-12-16T07:34:06.6345947+04:00",
"KARAT_DESC": "sample string 7",
"SPGRVT": 8.1,
"POSMINMAXAMT": 9.1,
"KARAT_AR": "sample string 10",
"DIVISION_CODE": "sample string 11",
"POPMINMAXAMT": 12.1
}
text/html
Sample:
{"MID":1,"KARAT_CODE":"sample string 2","STD_PURITY":3.1,"PURITY_FROM":4.1,"PURITY_TO":5.1,"SYSTEM_DATE":"2025-12-16T07:34:06.6345947+04:00","KARAT_DESC":"sample string 7","SPGRVT":8.1,"POSMINMAXAMT":9.1,"KARAT_AR":"sample string 10","DIVISION_CODE":"sample string 11","POPMINMAXAMT":12.1}
application/xml, text/xml
Sample:
<KaratMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webAppApi.Models.Master"> <DIVISION_CODE>sample string 11</DIVISION_CODE> <KARAT_AR>sample string 10</KARAT_AR> <KARAT_CODE>sample string 2</KARAT_CODE> <KARAT_DESC>sample string 7</KARAT_DESC> <MID>1</MID> <POPMINMAXAMT>12.1</POPMINMAXAMT> <POSMINMAXAMT>9.1</POSMINMAXAMT> <PURITY_FROM>4.1</PURITY_FROM> <PURITY_TO>5.1</PURITY_TO> <SPGRVT>8.1</SPGRVT> <STD_PURITY>3.1</STD_PURITY> <SYSTEM_DATE>2025-12-16T07:34:06.6345947+04:00</SYSTEM_DATE> </KaratMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
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/" />