GET api/Baskets?userId={userId}&orderTypeId={orderTypeId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

orderTypeId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of v_Basket
NameDescriptionTypeAdditional information
BasketId

integer

None.

UserId

integer

None.

PartId

integer

None.

PartNumber

string

String length: inclusive between 0 and 20

PartDescription

string

String length: inclusive between 0 and 50

Quantity

integer

None.

OrderDescription

string

String length: inclusive between 0 and 100

OrderTypeId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "2",
    "basketId": 1,
    "userId": 1,
    "partId": 1,
    "partNumber": "sample string 1",
    "partDescription": "sample string 2",
    "quantity": 1,
    "orderDescription": "sample string 3",
    "orderTypeId": 1
  },
  {
    "$ref": "2"
  }
]