GET api/Merchants/ByUserId/{id}

Get Merchant by UserId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id for the User

string

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": "ba2b3f38-97dd-4222-9d41-f7041070a146",
  "PlanId": "d1465b57-9ad8-47c0-ab0f-885034b9f112",
  "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>ba2b3f38-97dd-4222-9d41-f7041070a146</Id>
  <PlanId>d1465b57-9ad8-47c0-ab0f-885034b9f112</PlanId>
  <TimeZone>sample string 5</TimeZone>
  <UserId>sample string 3</UserId>
</MerchantViewModel>