POST api/Portal/SaveEventsSubscription?ContactId={ContactId}&EventId={EventId}&Direction={Direction}&TNId={TNId}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
ContactId
No documentation available.

Define this parameter in the request URI.

SelectedPriceLists
No documentation available.

Define this parameter in the request body.

EventId
No documentation available.

Define this parameter in the request URI.

Direction
No documentation available.

Define this parameter in the request URI.

TNId
No documentation available.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
[
  {
    "PriceListId": 1,
    "Number": 2
  },
  {
    "PriceListId": 1,
    "Number": 2
  },
  {
    "PriceListId": 1,
    "Number": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfPriceListItemVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel.Model">
  <PriceListItemVM>
    <Number>2</Number>
    <PriceListId>1</PriceListId>
  </PriceListItemVM>
  <PriceListItemVM>
    <Number>2</Number>
    <PriceListId>1</PriceListId>
  </PriceListItemVM>
  <PriceListItemVM>
    <Number>2</Number>
    <PriceListId>1</PriceListId>
  </PriceListItemVM>
</ArrayOfPriceListItemVM>

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

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Result": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<GeneralErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Plus">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>true</Result>
</GeneralErrors>