POST api/MerchantSoftPOS/SaveMerchantSoftStorePOSTerminal

Request Information

URI Parameters

None.

Body Parameters

SaveMerchantSoftStorePOSDetails
NameDescriptionTypeAdditional information
MerchantID

integer

None.

TerminalName

string

None.

SoftStoreID

integer

None.

MID

string

None.

TID

string

None.

ActivationCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MerchantID": 1,
  "TerminalName": "sample string 2",
  "SoftStoreID": 3,
  "MID": "sample string 4",
  "TID": "sample string 5",
  "ActivationCode": "sample string 6"
}

application/xml, text/xml

Sample:
<MSoftPOSModel.SaveMerchantSoftStorePOSDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">
  <ActivationCode>sample string 6</ActivationCode>
  <MID>sample string 4</MID>
  <MerchantID>1</MerchantID>
  <SoftStoreID>3</SoftStoreID>
  <TID>sample string 5</TID>
  <TerminalName>sample string 2</TerminalName>
</MSoftPOSModel.SaveMerchantSoftStorePOSDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActionResponse
NameDescriptionTypeAdditional information
success

boolean

None.

code

string

None.

message

string

None.

errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "code": "sample string 2",
  "message": "sample string 3",
  "errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ActionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">
  <code>sample string 2</code>
  <errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </errors>
  <message>sample string 3</message>
  <success>true</success>
</ActionResponse>