POST api/FinancesSap/BlockCheck
Request Information
URI Parameters
None.
Body Parameters
BlockCheckQueryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyCode | string |
None. |
|
| FiscalYear | integer |
None. |
|
| CheckDocNo | string |
None. |
|
| ItemNum | integer |
None. |
|
| BlockCheck | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyCode": "sample string 1",
"FiscalYear": 2,
"CheckDocNo": "sample string 3",
"ItemNum": 4,
"BlockCheck": true
}
application/xml, text/xml
Sample:
<BlockCheckQueryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ugur.RestApi2.Models"> <BlockCheck>true</BlockCheck> <CheckDocNo>sample string 3</CheckDocNo> <CompanyCode>sample string 1</CompanyCode> <FiscalYear>2</FiscalYear> <ItemNum>4</ItemNum> </BlockCheckQueryModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
TResultOfBAPIRETURN| Name | Description | Type | Additional information |
|---|---|---|---|
| RecordCount | integer |
None. |
|
| IsSuccessful | boolean |
None. |
|
| Message | string |
None. |
|
| Data | BAPIRETURN |
None. |
|
| DynamicProperty | Dictionary of string [key] and Object [value] |
None. |
Response Formats
application/json, text/json
Sample:
{
"RecordCount": 1,
"IsSuccessful": true,
"Message": "sample string 3",
"Data": {
"TYPE": "sample string 1",
"CODE": "sample string 2",
"MESSAGE": "sample string 3",
"LOG_NO": "sample string 4",
"LOG_MSG_NO": 5,
"MESSAGE_V1": "sample string 6",
"MESSAGE_V2": "sample string 7",
"MESSAGE_V3": "sample string 8",
"MESSAGE_V4": "sample string 9"
},
"DynamicProperty": {
"sample string 1": {},
"sample string 3": {}
}
}
application/xml, text/xml
Sample:
<TResultOfBAPIRETURNNYU2z2fs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.SAP.Models">
<Data>
<CODE>sample string 2</CODE>
<LOG_MSG_NO>5</LOG_MSG_NO>
<LOG_NO>sample string 4</LOG_NO>
<MESSAGE>sample string 3</MESSAGE>
<MESSAGE_V1>sample string 6</MESSAGE_V1>
<MESSAGE_V2>sample string 7</MESSAGE_V2>
<MESSAGE_V3>sample string 8</MESSAGE_V3>
<MESSAGE_V4>sample string 9</MESSAGE_V4>
<TYPE>sample string 1</TYPE>
</Data>
<DynamicProperty xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</DynamicProperty>
<IsSuccessful>true</IsSuccessful>
<Message>sample string 3</Message>
<RecordCount>1</RecordCount>
</TResultOfBAPIRETURNNYU2z2fs>