POST api/Sage/SaveSageConfig

Test Connection to Sage Intacct API

Request Information

URI Parameters

None.

Body Parameters

AuthRequestModel
NameDescriptionTypeAdditional information
SenderID

string

None.

SenderPassword

string

None.

UserID

string

None.

Password

string

None.

CompanyID

string

None.

Request Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "senderID": "sample string 1",
  "senderPassword": "sample string 2",
  "userID": "sample string 3",
  "password": "sample string 4",
  "companyID": "sample string 5"
}

application/xml, text/xml

Sample:
<AuthRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.RequestModel.Sage">
  <CompanyID>sample string 5</CompanyID>
  <Password>sample string 4</Password>
  <SenderID>sample string 1</SenderID>
  <SenderPassword>sample string 2</SenderPassword>
  <UserID>sample string 3</UserID>
</AuthRequestModel>

multipart/form-data

Sample:
<AuthRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArrowCMMS.Core.RequestModel.Sage"><CompanyID>sample string 5</CompanyID><Password>sample string 4</Password><SenderID>sample string 1</SenderID><SenderPassword>sample string 2</SenderPassword><UserID>sample string 3</UserID></AuthRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CommonResponseDataModel
NameDescriptionTypeAdditional information
ReturnID

integer

Required

Message

string

Required

Successful

boolean

Required

Code

integer

None.

TotalRecord

integer

None.

Response Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "returnID": 1,
  "message": "sample string 2",
  "successful": true,
  "code": 4,
  "totalRecord": 5
}

application/xml, text/xml

Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel">
  <Code>4</Code>
  <Message>sample string 2</Message>
  <ReturnID>1</ReturnID>
  <Successful>true</Successful>
  <TotalRecord>5</TotalRecord>
</CommonResponseDataModel>

multipart/form-data

Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Arrow.Core.DataModel"><Code>4</Code><Message>sample string 2</Message><ReturnID>1</ReturnID><Successful>true</Successful><TotalRecord>5</TotalRecord></CommonResponseDataModel>