POST api/DoctorProfile/UpsertSubcription
Request Information
URI Parameters
None.
Body Parameters
SubscriptionModel| Name | Description | Type | Additional 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": "c1490d58-195d-4e4a-85b5-c6b8c485ce9b",
"PlanPricingKey": "a83a28a9-d4ce-41f4-956d-8caa6a352fa1",
"AccountKey": "sample string 3",
"Description": "sample string 4",
"CreatedOn": "2025-12-12T19:55:07.0911961+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-12T19:55:07.0911961+02:00</CreatedOn> <Description>sample string 4</Description> <PlanPricingKey>a83a28a9-d4ce-41f4-956d-8caa6a352fa1</PlanPricingKey> <RecordTypeId>sample string 6</RecordTypeId> <RoomKey>sample string 5</RoomKey> <SubscriptionAction>Subscribe</SubscriptionAction> <SubscriptionKey>c1490d58-195d-4e4a-85b5-c6b8c485ce9b</SubscriptionKey> </SubscriptionModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |