POST api/{programid}/ServiceGroup

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

string

Required

Body Parameters

ServiceCategory
NameDescriptionTypeAdditional information
Code

string

None.

Description

string

None.

PayLimitQuantity

string

None.

PreAuthRequired

string

None.

BudgetType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Description": "sample string 2",
  "PayLimitQuantity": "sample string 3",
  "PreAuthRequired": "sample string 4",
  "BudgetType": "sample string 5"
}

application/xml, text/xml

Sample:
<ServiceCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.NavisionData.CommonClasses.Services">
  <BudgetType>sample string 5</BudgetType>
  <Code>sample string 1</Code>
  <Description>sample string 2</Description>
  <PayLimitQuantity>sample string 3</PayLimitQuantity>
  <PreAuthRequired>sample string 4</PreAuthRequired>
</ServiceCategory>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ServiceCategory'.

Response Information

Resource Description

ServiceCategory
NameDescriptionTypeAdditional information
Code

string

None.

Description

string

None.

PayLimitQuantity

string

None.

PreAuthRequired

string

None.

BudgetType

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Description": "sample string 2",
  "PayLimitQuantity": "sample string 3",
  "PreAuthRequired": "sample string 4",
  "BudgetType": "sample string 5"
}

application/xml, text/xml

Sample:
<ServiceCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.NavisionData.CommonClasses.Services">
  <BudgetType>sample string 5</BudgetType>
  <Code>sample string 1</Code>
  <Description>sample string 2</Description>
  <PayLimitQuantity>sample string 3</PayLimitQuantity>
  <PreAuthRequired>sample string 4</PreAuthRequired>
</ServiceCategory>