POST api/B1/Connect

Request Information

URI Parameters

None.

Body Parameters

USESAPB1
NameDescriptionTypeAdditional information
Server

string

None.

CompanyDB

string

None.

DbUserName

string

None.

DbPassword

string

None.

B1UserName

string

None.

B1Password

string

None.

DbServerType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Server": "sample string 1",
  "CompanyDB": "sample string 2",
  "DbUserName": "sample string 3",
  "DbPassword": "sample string 4",
  "B1UserName": "sample string 5",
  "B1Password": "sample string 6",
  "DbServerType": 7
}

application/xml, text/xml

Sample:
<USESAPB1 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAPbobs_Access">
  <B1Password>sample string 6</B1Password>
  <B1UserName>sample string 5</B1UserName>
  <CompanyDB>sample string 2</CompanyDB>
  <DbPassword>sample string 4</DbPassword>
  <DbServerType>7</DbServerType>
  <DbUserName>sample string 3</DbUserName>
  <Server>sample string 1</Server>
</USESAPB1>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAPbobs_Access">
  <Data />
  <Message>sample string 2</Message>
  <Status>true</Status>
</ServiceResponse>