PUT api/audVAS/markups

Get the ServiceCode markups from Mapping tables for a client and the listed service codes

Request Information

URI Parameters

None.

Body Parameters

audServiceCodeLookup
NameDescriptionTypeAdditional information
ClientID

integer

None.

ServiceCodes

Collection of audServiceCodeMarkup

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientID": 1,
  "ServiceCodes": [
    {
      "ServiceCode": "sample string 1",
      "Markup": 2.0
    },
    {
      "ServiceCode": "sample string 1",
      "Markup": 2.0
    }
  ]
}

application/xml, text/xml

Sample:
<audServiceCodeLookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <ClientID>1</ClientID>
  <ServiceCodes>
    <audServiceCodeMarkup>
      <Markup>2</Markup>
      <ServiceCode>sample string 1</ServiceCode>
    </audServiceCodeMarkup>
    <audServiceCodeMarkup>
      <Markup>2</Markup>
      <ServiceCode>sample string 1</ServiceCode>
    </audServiceCodeMarkup>
  </ServiceCodes>
</audServiceCodeLookup>

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 'audServiceCodeLookup'.

Response Information

Resource Description

audServiceCodeLookup
NameDescriptionTypeAdditional information
ClientID

integer

None.

ServiceCodes

Collection of audServiceCodeMarkup

None.

Response Formats

application/json, text/json

Sample:
{
  "ClientID": 1,
  "ServiceCodes": [
    {
      "ServiceCode": "sample string 1",
      "Markup": 2.0
    },
    {
      "ServiceCode": "sample string 1",
      "Markup": 2.0
    }
  ]
}

application/xml, text/xml

Sample:
<audServiceCodeLookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <ClientID>1</ClientID>
  <ServiceCodes>
    <audServiceCodeMarkup>
      <Markup>2</Markup>
      <ServiceCode>sample string 1</ServiceCode>
    </audServiceCodeMarkup>
    <audServiceCodeMarkup>
      <Markup>2</Markup>
      <ServiceCode>sample string 1</ServiceCode>
    </audServiceCodeMarkup>
  </ServiceCodes>
</audServiceCodeLookup>