POST api/desktop/CheckUsingX1OnlineByBudgetCodeForBamboo

Kiểm tra có đc phép sử dụng chức năng kết nối X1 Online hay ko theo mã QHNS

Request Information

URI Parameters

None.

Body Parameters

BudgetInfoParam
NameDescriptionTypeAdditional information
BudgetCode

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BudgetCode": "sample string 1",
  "Token": "sample string 2"
}

text/xml

Sample:
<BudgetInfoParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.Auth.Entity.Param.X1Online">
  <BudgetCode>sample string 1</BudgetCode>
  <Token>sample string 2</Token>
</BudgetInfoParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResult
NameDescriptionTypeAdditional information
Status

RequestStatus

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": {
    "Type": "sample string 1",
    "Code": 2,
    "Message": "sample string 3",
    "Error": true,
    "ErrorCode": 5
  },
  "Data": {}
}

text/xml

Sample:
<ServiceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.Auth.Entity">
  <Data />
  <Status>
    <Code>2</Code>
    <Error>true</Error>
    <ErrorCode>5</ErrorCode>
    <Message>sample string 3</Message>
    <Type>sample string 1</Type>
  </Status>
</ServiceResult>