POST api/workshop/add
Request Information
URI Parameters
None.
Body Parameters
AddWorkshopBindingModelsName | Description | Type | Additional information |
---|---|---|---|
syllabusID | integer |
Required Range: inclusive between 0 and 2147483647 |
|
name | string |
Required String length: inclusive between 2 and 150 |
|
description | string |
None. |
|
name_FR | string |
None. |
|
description_FR | string |
None. |
|
code | string |
None. |
|
noOfDays | decimal number |
None. |
|
imageUrl | string |
String length: inclusive between 0 and 1500 |
|
videoUrl | string |
String length: inclusive between 0 and 1500 |
|
termsConditions | string |
None. |
|
hasCompetent | boolean |
None. |
|
hasRequirement | boolean |
None. |
|
hasMultipleDays | boolean |
None. |
|
hasWaitingList | boolean |
None. |
|
workshopTypeID | integer |
None. |
|
deliveryMethodID | integer |
None. |
|
capacity | integer |
None. |
|
minAttendance | integer |
None. |
|
maxWaitingList | integer |
None. |
|
cost | decimal number |
None. |
|
cancellationCost | decimal number |
None. |
|
isActive | boolean |
None. |
|
dlaIntegration | boolean |
None. |
|
userID | integer |
Required Range: inclusive between 0 and 2147483647 |
|
ShopifyLink | string |
None. |
|
RequiredModel | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "syllabusID": 1, "name": "sample string 2", "description": "sample string 3", "name_FR": "sample string 4", "description_FR": "sample string 5", "code": "sample string 6", "noOfDays": 7.0, "imageUrl": "sample string 8", "videoUrl": "sample string 9", "termsConditions": "sample string 10", "hasCompetent": true, "hasRequirement": true, "hasMultipleDays": true, "hasWaitingList": true, "workshopTypeID": 15, "deliveryMethodID": 16, "capacity": 17, "minAttendance": 18, "maxWaitingList": 19, "cost": 20.0, "cancellationCost": 21.0, "isActive": true, "dlaIntegration": true, "userID": 24, "ShopifyLink": "sample string 25", "RequiredModel": true }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |