POST SetBulkTaxSettings

Request Information

URI Parameters

None.

Body Parameters

Collection of TaxSetting
NameDescriptionTypeAdditional information
SID

integer

None.

TaxSettingId

integer

None.

Channels

Collection of Channel

None.

Properties

Collection of Property

None.

Currency

string

None.

Action

string

None.

CreatedById

integer

None.

CreatedByName

string

None.

CreatedOn

date

None.

UpdatedById

integer

None.

UpdatedByName

string

None.

UpdatedOn

date

None.

TaxValue

string

None.

CreatedByPGHUserName

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "SID": 1,
    "TaxSettingId": 2,
    "Channels": [
      {
        "ChannelId": 1,
        "ChannelName": "sample string 2"
      },
      {
        "ChannelId": 1,
        "ChannelName": "sample string 2"
      }
    ],
    "Properties": [
      {
        "PropertyId": 1,
        "PropertyName": "sample string 2"
      },
      {
        "PropertyId": 1,
        "PropertyName": "sample string 2"
      }
    ],
    "Currency": "sample string 3",
    "Action": "sample string 4",
    "CreatedById": 1,
    "CreatedByName": "sample string 5",
    "CreatedOn": "2025-04-28T16:33:02.0803826+00:00",
    "UpdatedById": 1,
    "UpdatedByName": "sample string 6",
    "UpdatedOn": "2025-04-28T16:33:02.0803826+00:00",
    "TaxValue": "sample string 7",
    "CreatedByPGHUserName": "sample string 8"
  },
  {
    "SID": 1,
    "TaxSettingId": 2,
    "Channels": [
      {
        "ChannelId": 1,
        "ChannelName": "sample string 2"
      },
      {
        "ChannelId": 1,
        "ChannelName": "sample string 2"
      }
    ],
    "Properties": [
      {
        "PropertyId": 1,
        "PropertyName": "sample string 2"
      },
      {
        "PropertyId": 1,
        "PropertyName": "sample string 2"
      }
    ],
    "Currency": "sample string 3",
    "Action": "sample string 4",
    "CreatedById": 1,
    "CreatedByName": "sample string 5",
    "CreatedOn": "2025-04-28T16:33:02.0803826+00:00",
    "UpdatedById": 1,
    "UpdatedByName": "sample string 6",
    "UpdatedOn": "2025-04-28T16:33:02.0803826+00:00",
    "TaxValue": "sample string 7",
    "CreatedByPGHUserName": "sample string 8"
  }
]

text/html

Sample:
[{"SID":1,"TaxSettingId":2,"Channels":[{"ChannelId":1,"ChannelName":"sample string 2"},{"ChannelId":1,"ChannelName":"sample string 2"}],"Properties":[{"PropertyId":1,"PropertyName":"sample string 2"},{"PropertyId":1,"PropertyName":"sample string 2"}],"Currency":"sample string 3","Action":"sample string 4","CreatedById":1,"CreatedByName":"sample string 5","CreatedOn":"2025-04-28T16:33:02.0803826+00:00","UpdatedById":1,"UpdatedByName":"sample string 6","UpdatedOn":"2025-04-28T16:33:02.0803826+00:00","TaxValue":"sample string 7","CreatedByPGHUserName":"sample string 8"},{"SID":1,"TaxSettingId":2,"Channels":[{"ChannelId":1,"ChannelName":"sample string 2"},{"ChannelId":1,"ChannelName":"sample string 2"}],"Properties":[{"PropertyId":1,"PropertyName":"sample string 2"},{"PropertyId":1,"PropertyName":"sample string 2"}],"Currency":"sample string 3","Action":"sample string 4","CreatedById":1,"CreatedByName":"sample string 5","CreatedOn":"2025-04-28T16:33:02.0803826+00:00","UpdatedById":1,"UpdatedByName":"sample string 6","UpdatedOn":"2025-04-28T16:33:02.0803826+00:00","TaxValue":"sample string 7","CreatedByPGHUserName":"sample string 8"}]

application/xml, text/xml

Sample:
<ArrayOfTaxSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Settings">
  <TaxSetting>
    <Action>sample string 4</Action>
    <Channels>
      <Channel>
        <ChannelId>1</ChannelId>
        <ChannelName>sample string 2</ChannelName>
      </Channel>
      <Channel>
        <ChannelId>1</ChannelId>
        <ChannelName>sample string 2</ChannelName>
      </Channel>
    </Channels>
    <CreatedById>1</CreatedById>
    <CreatedByName>sample string 5</CreatedByName>
    <CreatedByPGHUserName>sample string 8</CreatedByPGHUserName>
    <CreatedOn>2025-04-28T16:33:02.0803826+00:00</CreatedOn>
    <Currency>sample string 3</Currency>
    <Properties>
      <Property>
        <PropertyId>1</PropertyId>
        <PropertyName>sample string 2</PropertyName>
      </Property>
      <Property>
        <PropertyId>1</PropertyId>
        <PropertyName>sample string 2</PropertyName>
      </Property>
    </Properties>
    <SID>1</SID>
    <TaxSettingId>2</TaxSettingId>
    <TaxValue>sample string 7</TaxValue>
    <UpdatedById>1</UpdatedById>
    <UpdatedByName>sample string 6</UpdatedByName>
    <UpdatedOn>2025-04-28T16:33:02.0803826+00:00</UpdatedOn>
  </TaxSetting>
  <TaxSetting>
    <Action>sample string 4</Action>
    <Channels>
      <Channel>
        <ChannelId>1</ChannelId>
        <ChannelName>sample string 2</ChannelName>
      </Channel>
      <Channel>
        <ChannelId>1</ChannelId>
        <ChannelName>sample string 2</ChannelName>
      </Channel>
    </Channels>
    <CreatedById>1</CreatedById>
    <CreatedByName>sample string 5</CreatedByName>
    <CreatedByPGHUserName>sample string 8</CreatedByPGHUserName>
    <CreatedOn>2025-04-28T16:33:02.0803826+00:00</CreatedOn>
    <Currency>sample string 3</Currency>
    <Properties>
      <Property>
        <PropertyId>1</PropertyId>
        <PropertyName>sample string 2</PropertyName>
      </Property>
      <Property>
        <PropertyId>1</PropertyId>
        <PropertyName>sample string 2</PropertyName>
      </Property>
    </Properties>
    <SID>1</SID>
    <TaxSettingId>2</TaxSettingId>
    <TaxValue>sample string 7</TaxValue>
    <UpdatedById>1</UpdatedById>
    <UpdatedByName>sample string 6</UpdatedByName>
    <UpdatedOn>2025-04-28T16:33:02.0803826+00:00</UpdatedOn>
  </TaxSetting>
</ArrayOfTaxSetting>

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 'List`1'.

Response Information

Resource Description

ResponseOfBoolean
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Body

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Body": true
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Body":true}

application/xml, text/xml

Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common">
  <Body>true</Body>
  <Message>sample string 1</Message>
  <Status>true</Status>
</ResponseOfboolean>