POST api/DoctorProfile/UpsertSubcription

Request Information

URI Parameters

None.

Body Parameters

SubscriptionModel
NameDescriptionTypeAdditional information
SubscriptionKey

globally unique identifier

None.

PlanPricingKey

globally unique identifier

None.

AccountKey

string

None.

Description

string

None.

CreatedOn

date

None.

RoomKey

string

None.

RecordTypeId

string

None.

SubscriptionAction

SubscriptionAction

None.

Request Formats

application/json, text/json

Sample:
{
  "SubscriptionKey": "b3412403-dac0-4ba1-bae3-65f39ce6a0c5",
  "PlanPricingKey": "4bb95d5e-2345-4b40-8066-bfbc198f0d73",
  "AccountKey": "sample string 3",
  "Description": "sample string 4",
  "CreatedOn": "2025-12-11T15:12:22.697807+02:00",
  "RoomKey": "sample string 5",
  "RecordTypeId": "sample string 6",
  "SubscriptionAction": 0
}

application/xml, text/xml

Sample:
<SubscriptionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VezeetaCrmApi.Models">
  <AccountKey>sample string 3</AccountKey>
  <CreatedOn>2025-12-11T15:12:22.697807+02:00</CreatedOn>
  <Description>sample string 4</Description>
  <PlanPricingKey>4bb95d5e-2345-4b40-8066-bfbc198f0d73</PlanPricingKey>
  <RecordTypeId>sample string 6</RecordTypeId>
  <RoomKey>sample string 5</RoomKey>
  <SubscriptionAction>Subscribe</SubscriptionAction>
  <SubscriptionKey>b3412403-dac0-4ba1-bae3-65f39ce6a0c5</SubscriptionKey>
</SubscriptionModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.