POST api/subscriptions/category/3/{subscriptionId}/suspend/date/{dateString}

Submits an order to ("soft") suspend an existing subscription of type VoIP.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subscriptionId

The ID of the subscription to suspend.

integer

Required

dateString

The suspension date.

string

Required

Body Parameters

None.

Response Information

Resource Description

The created order

Order
NameDescriptionTypeAdditional information
CategoryId

integer

None.

CreatedDate

date

None.

Date

date

None.

Id

integer

None.

OrderTypeId

integer

None.

PhoneNumber

string

None.

SalesCode

string

None.

StatusId

integer

None.

SubscriptionId

integer

None.

WholeSalesPartnerId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CategoryId": 1,
  "CreatedDate": "2025-04-28T01:32:36.8379924+02:00",
  "Date": "2025-04-28T01:32:36.8379924+02:00",
  "Id": 4,
  "OrderTypeId": 5,
  "PhoneNumber": "sample string 6",
  "SalesCode": "sample string 7",
  "StatusId": 8,
  "SubscriptionId": 1,
  "WholeSalesPartnerId": 9
}

text/html

Sample:
{"CategoryId":1,"CreatedDate":"2025-04-28T01:32:36.8379924+02:00","Date":"2025-04-28T01:32:36.8379924+02:00","Id":4,"OrderTypeId":5,"PhoneNumber":"sample string 6","SalesCode":"sample string 7","StatusId":8,"SubscriptionId":1,"WholeSalesPartnerId":9}

application/xml, text/xml

Sample:
<Order xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CategoryId>1</CategoryId>
  <CreatedDate>2025-04-28T01:32:36.8379924+02:00</CreatedDate>
  <Date>2025-04-28T01:32:36.8379924+02:00</Date>
  <Id>4</Id>
  <OrderTypeId>5</OrderTypeId>
  <PhoneNumber>sample string 6</PhoneNumber>
  <SalesCode>sample string 7</SalesCode>
  <StatusId>8</StatusId>
  <SubscriptionId>1</SubscriptionId>
  <WholeSalesPartnerId>9</WholeSalesPartnerId>
</Order>