GET api/Login/findVendor?key={key}&device_token={device_token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

string

Required

device_token

string

None.

Body Parameters

None.

Response Information

Resource Description

VendorData
NameDescriptionTypeAdditional information
id

integer

None.

business_name

string

None.

address

string

None.

city

string

None.

type

string

None.

phone

string

None.

email

string

None.

logo

string

None.

status

string

None.

currency

string

None.

posscreensections

integer

None.

supportemail

string

None.

ordercc

string

None.

transubline

string

None.

startdate

date

None.

enddate

date

None.

terms

string

None.

showprice

boolean

None.

logofile

HttpPostedFileBase

None.

print_receipt

boolean

None.

print_receipt_confirmation

boolean

None.

doc_url

string

None.

web_url

string

None.

schools

Collection of VendorSchools

None.

staffs

Collection of VendorStaffs

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "business_name": "sample string 2",
  "address": "sample string 3",
  "city": "sample string 4",
  "type": "sample string 5",
  "phone": "sample string 6",
  "email": "sample string 7",
  "logo": "sample string 8",
  "status": "sample string 9",
  "currency": "sample string 10",
  "posscreensections": 1,
  "supportemail": "sample string 11",
  "ordercc": "sample string 12",
  "transubline": "sample string 13",
  "startdate": "2024-11-01T13:19:09.7652558+00:00",
  "enddate": "2024-11-01T13:19:09.7652558+00:00",
  "terms": "sample string 14",
  "showprice": true,
  "logofile": null,
  "print_receipt": true,
  "print_receipt_confirmation": true,
  "doc_url": "sample string 17",
  "web_url": "sample string 18",
  "schools": [
    {
      "$id": "2",
      "id": 1,
      "name": "sample string 1"
    },
    {
      "$ref": "2"
    }
  ],
  "staffs": [
    {
      "$id": "3",
      "id": 1,
      "name": "sample string 2",
      "email": "sample string 3",
      "phone": "sample string 4"
    },
    {
      "$ref": "3"
    }
  ]
}