POST api/Formula/FormulaCalculation?token={token}&gsbm={gsbm}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token | string |
Required |
|
| gsbm | string |
Required |
Body Parameters
APIGSCS| Name | Description | Type | Additional information |
|---|---|---|---|
| gs | GS |
None. |
|
| listGSCS | Collection of GSCS |
None. |
Request Formats
application/json, text/json
Sample:
{
"gs": {
"GSBM": "sample string 1",
"GSMC": "sample string 2",
"JSGS": "sample string 3"
},
"listGSCS": [
{
"CSID": 1,
"CSBS": "sample string 2",
"CSMC": "sample string 3",
"Value": "sample string 4"
},
{
"CSID": 1,
"CSBS": "sample string 2",
"CSMC": "sample string 3",
"Value": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<APIGSCS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common">
<gs>
<GSBM>sample string 1</GSBM>
<GSMC>sample string 2</GSMC>
<JSGS>sample string 3</JSGS>
</gs>
<listGSCS>
<GSCS>
<CSBS>sample string 2</CSBS>
<CSID>1</CSID>
<CSMC>sample string 3</CSMC>
<Value>sample string 4</Value>
</GSCS>
<GSCS>
<CSBS>sample string 2</CSBS>
<CSID>1</CSID>
<CSMC>sample string 3</CSMC>
<Value>sample string 4</Value>
</GSCS>
</listGSCS>
</APIGSCS>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JsonResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
None. |
|
| date | string |
None. |
|
| result | Object |
None. |
|
| count | integer |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"date": "sample string 2",
"result": {},
"count": 4,
"message": "sample string 5"
}
application/xml, text/xml
Sample:
<JsonResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common"> <code>sample string 1</code> <count>4</count> <date>sample string 2</date> <message>sample string 5</message> <result /> </JsonResult>