POST api/ArgusAPI/ClosePurch

Request Information

URI Parameters

None.

Body Parameters

ClosePurchRequest
NameDescriptionTypeAdditional information
Login

string

None.

Password

string

None.

Region

string

None.

ApplicationName

string

None.

SessionId

string

None.

Mode

string

None.

PurchKey

string

None.

UserID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Login": "sample string 1",
  "Password": "sample string 2",
  "Region": "sample string 3",
  "ApplicationName": "sample string 4",
  "SessionId": "sample string 5",
  "Mode": "sample string 6",
  "PurchKey": "sample string 7",
  "UserID": "sample string 8"
}

application/xml, text/xml

Sample:
<ClosePurchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArgusWebApi2">
  <ApplicationName>sample string 4</ApplicationName>
  <Login>sample string 1</Login>
  <Mode>sample string 6</Mode>
  <Password>sample string 2</Password>
  <PurchKey>sample string 7</PurchKey>
  <Region>sample string 3</Region>
  <SessionId>sample string 5</SessionId>
  <UserID>sample string 8</UserID>
</ClosePurchRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ClosePurchResponse
NameDescriptionTypeAdditional information
PurchKeyOut

string

None.

StatusCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "PurchKeyOut": "sample string 1",
  "StatusCode": "sample string 2"
}

application/xml, text/xml

Sample:
<ClosePurchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArgusWebApi2">
  <PurchKeyOut>sample string 1</PurchKeyOut>
  <StatusCode>sample string 2</StatusCode>
</ClosePurchResponse>