GET api/PriceGroup/{prixid}?user={user}

Return the price group specified by prixid

Request Information

URI Parameters

NameDescriptionTypeAdditional information
prixid

Price group id

decimal number

Required

user

Optional user handle - if empty logged in user will be used

string

None.

Body Parameters

None.

Response Information

Resource Description

PriceGroup object on success
Collection of errors on failure
Return codes
200 - ok
300 - ambiguous
400 - bad request
401 - unauthorized
404 - not found
500 - internal server error

PriceGroup
NameDescriptionTypeAdditional information
Id

Price group id

decimal number

None.

Desrciption

Group description

string

None.

Comments

string

None.

Default

Is default price group - one default per reseller

boolean

None.

DateCreation

Date created

date

None.

DateModification

Last modified date

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1.0,
  "Desrciption": "sample string 2",
  "Comments": "sample string 3",
  "Default": true,
  "DateCreation": "2025-04-04T00:10:54.3712044+02:00",
  "DateModification": "2025-04-04T00:10:54.3712044+02:00"
}

application/xml, text/xml

Sample:
<PriceGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Pricing">
  <Comments>sample string 3</Comments>
  <DateCreation>2025-04-04T00:10:54.3712044+02:00</DateCreation>
  <DateModification>2025-04-04T00:10:54.3712044+02:00</DateModification>
  <Default>true</Default>
  <Desrciption>sample string 2</Desrciption>
  <Id>1</Id>
</PriceGroup>