GET api-v1/commerce/orderschema

Returns a list of all order schemas the current user has access to

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A list of all order schemas the current user has access to

Collection of OrderSchemaInfoResponse
NameDescriptionTypeAdditional information
Id

The Id of this order schema

integer

None.

Name

The name of this order schema

string

None.

Response Formats

application/json,text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2"
  },
  {
    "Id": 1,
    "Name": "sample string 2"
  }
]

application/xml,text/xml

Sample:
<ArrayOfOrderSchemaInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/labPortal2.Web.Api.v1.Commerce.Messages">
  <OrderSchemaInfoResponse>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </OrderSchemaInfoResponse>
  <OrderSchemaInfoResponse>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </OrderSchemaInfoResponse>
</ArrayOfOrderSchemaInfoResponse>