GET api/Merchants/ById/{id}

Get Merchant by Id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id for the Merchant

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Returns a Merchant

MerchantViewModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

PlanId

globally unique identifier

None.

CompanyName

string

None.

UserId

string

None.

Active

boolean

None.

TimeZone

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "58cbb0c6-c3ae-4d39-8623-4ac46b3a3a5d",
  "PlanId": "5064c220-443f-49fa-9e4e-6d8ad4b55fce",
  "CompanyName": "sample string 2",
  "UserId": "sample string 3",
  "Active": true,
  "TimeZone": "sample string 5"
}

application/xml, text/xml

Sample:
<MerchantViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FaceOffers.Api.Models">
  <Active>true</Active>
  <CompanyName>sample string 2</CompanyName>
  <Id>58cbb0c6-c3ae-4d39-8623-4ac46b3a3a5d</Id>
  <PlanId>5064c220-443f-49fa-9e4e-6d8ad4b55fce</PlanId>
  <TimeZone>sample string 5</TimeZone>
  <UserId>sample string 3</UserId>
</MerchantViewModel>