POST api/GeneralMaster
Request Information
URI Parameters
None.
Body Parameters
GeneralMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| MID | integer |
Required |
|
| TYPES | string |
Required Max length: 30 |
|
| CODE | string |
Required Max length: 20 |
|
| DESCRIPTION | string |
Max length: 70 |
|
| SYSTEM_DATE | date |
None. |
|
| TYPES_OTHERS | string |
Max length: 500 |
|
| GM_PICTURE_NAME | string |
Max length: 250 |
|
| SHAPE | string |
Max length: 6 |
|
| SIZE | string |
Max length: 6 |
|
| CARATPERPCS | decimal number |
None. |
|
| DIAWTTYPE | boolean |
None. |
|
| MOBILECOUNTRYCODE | string |
Max length: 10 |
|
| PERCENTAGE | decimal number |
None. |
|
| LAST_NO | decimal number |
None. |
|
| COUNTRY_CODE | string |
Max length: 20 |
|
| STATE_CODE | string |
Max length: 20 |
|
| DESCRIPTION_OTHER | string |
Max length: 100 |
|
| MASDIVISION | string |
Max length: 1 |
|
| COLOR_SET | string |
Required Max length: 20 |
|
| DESCRIPTION_CHINESE | string |
Required Max length: 250 |
|
| TYPES_CHINESE | string |
Required Max length: 250 |
|
| DESCRIPTION_TURKISH | string |
Required Max length: 250 |
|
| TYPES_TURKISH | string |
Required Max length: 250 |
|
| PCS | decimal number |
None. |
|
| VARIANCE | decimal number |
Required |
|
| VARIANCE_POINTERWT | decimal number |
Required |
|
| DIV_C | boolean |
Required |
|
| DIV_D | boolean |
Required |
|
| DIV_G | boolean |
Required |
|
| DIV_L | boolean |
Required |
|
| DIV_M | boolean |
Required |
|
| DIV_N | boolean |
Required |
|
| DIV_P | boolean |
Required |
|
| DIV_S | boolean |
Required |
|
| DIV_T | boolean |
Required |
|
| DIV_W | boolean |
Required |
|
| DIV_X | boolean |
Required |
|
| DESCRIPTION_JOR | string |
Required Max length: 250 |
|
| TYPES_JOR | string |
Required Max length: 250 |
Request Formats
application/json, text/json
Sample:
{
"MID": 1,
"TYPES": "sample string 2",
"CODE": "sample string 3",
"DESCRIPTION": "sample string 4",
"SYSTEM_DATE": "2025-12-16T07:34:01.2138821+04:00",
"TYPES_OTHERS": "sample string 6",
"GM_PICTURE_NAME": "sample string 7",
"SHAPE": "sample string 8",
"SIZE": "sample string 9",
"CARATPERPCS": 10.1,
"DIAWTTYPE": true,
"MOBILECOUNTRYCODE": "sample string 12",
"PERCENTAGE": 13.1,
"LAST_NO": 14.1,
"COUNTRY_CODE": "sample string 15",
"STATE_CODE": "sample string 16",
"DESCRIPTION_OTHER": "sample string 17",
"MASDIVISION": "sample string 18",
"COLOR_SET": "sample string 19",
"DESCRIPTION_CHINESE": "sample string 20",
"TYPES_CHINESE": "sample string 21",
"DESCRIPTION_TURKISH": "sample string 22",
"TYPES_TURKISH": "sample string 23",
"PCS": 24.1,
"VARIANCE": 25.1,
"VARIANCE_POINTERWT": 26.1,
"DIV_C": true,
"DIV_D": true,
"DIV_G": true,
"DIV_L": true,
"DIV_M": true,
"DIV_N": true,
"DIV_P": true,
"DIV_S": true,
"DIV_T": true,
"DIV_W": true,
"DIV_X": true,
"DESCRIPTION_JOR": "sample string 38",
"TYPES_JOR": "sample string 39"
}
text/html
Sample:
{"MID":1,"TYPES":"sample string 2","CODE":"sample string 3","DESCRIPTION":"sample string 4","SYSTEM_DATE":"2025-12-16T07:34:01.2138821+04:00","TYPES_OTHERS":"sample string 6","GM_PICTURE_NAME":"sample string 7","SHAPE":"sample string 8","SIZE":"sample string 9","CARATPERPCS":10.1,"DIAWTTYPE":true,"MOBILECOUNTRYCODE":"sample string 12","PERCENTAGE":13.1,"LAST_NO":14.1,"COUNTRY_CODE":"sample string 15","STATE_CODE":"sample string 16","DESCRIPTION_OTHER":"sample string 17","MASDIVISION":"sample string 18","COLOR_SET":"sample string 19","DESCRIPTION_CHINESE":"sample string 20","TYPES_CHINESE":"sample string 21","DESCRIPTION_TURKISH":"sample string 22","TYPES_TURKISH":"sample string 23","PCS":24.1,"VARIANCE":25.1,"VARIANCE_POINTERWT":26.1,"DIV_C":true,"DIV_D":true,"DIV_G":true,"DIV_L":true,"DIV_M":true,"DIV_N":true,"DIV_P":true,"DIV_S":true,"DIV_T":true,"DIV_W":true,"DIV_X":true,"DESCRIPTION_JOR":"sample string 38","TYPES_JOR":"sample string 39"}
application/xml, text/xml
Sample:
<GeneralMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webAppApi.Models.Master"> <CARATPERPCS>10.1</CARATPERPCS> <CODE>sample string 3</CODE> <COLOR_SET>sample string 19</COLOR_SET> <COUNTRY_CODE>sample string 15</COUNTRY_CODE> <DESCRIPTION>sample string 4</DESCRIPTION> <DESCRIPTION_CHINESE>sample string 20</DESCRIPTION_CHINESE> <DESCRIPTION_JOR>sample string 38</DESCRIPTION_JOR> <DESCRIPTION_OTHER>sample string 17</DESCRIPTION_OTHER> <DESCRIPTION_TURKISH>sample string 22</DESCRIPTION_TURKISH> <DIAWTTYPE>true</DIAWTTYPE> <DIV_C>true</DIV_C> <DIV_D>true</DIV_D> <DIV_G>true</DIV_G> <DIV_L>true</DIV_L> <DIV_M>true</DIV_M> <DIV_N>true</DIV_N> <DIV_P>true</DIV_P> <DIV_S>true</DIV_S> <DIV_T>true</DIV_T> <DIV_W>true</DIV_W> <DIV_X>true</DIV_X> <GM_PICTURE_NAME>sample string 7</GM_PICTURE_NAME> <LAST_NO>14.1</LAST_NO> <MASDIVISION>sample string 18</MASDIVISION> <MID>1</MID> <MOBILECOUNTRYCODE>sample string 12</MOBILECOUNTRYCODE> <PCS>24.1</PCS> <PERCENTAGE>13.1</PERCENTAGE> <SHAPE>sample string 8</SHAPE> <SIZE>sample string 9</SIZE> <STATE_CODE>sample string 16</STATE_CODE> <SYSTEM_DATE>2025-12-16T07:34:01.2138821+04:00</SYSTEM_DATE> <TYPES>sample string 2</TYPES> <TYPES_CHINESE>sample string 21</TYPES_CHINESE> <TYPES_JOR>sample string 39</TYPES_JOR> <TYPES_OTHERS>sample string 6</TYPES_OTHERS> <TYPES_TURKISH>sample string 23</TYPES_TURKISH> <VARIANCE>25.1</VARIANCE> <VARIANCE_POINTERWT>26.1</VARIANCE_POINTERWT> </GeneralMaster>
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/" />