POST api/workshop/update
Request Information
URI Parameters
None.
Body Parameters
UpdateWorkshopBindingModelsName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required Range: inclusive between 0 and 2147483647 |
|
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:
{ "Id": 1, "syllabusID": 2, "name": "sample string 3", "description": "sample string 4", "name_FR": "sample string 5", "description_FR": "sample string 6", "code": "sample string 7", "noOfDays": 8.0, "imageUrl": "sample string 9", "videoUrl": "sample string 10", "termsConditions": "sample string 11", "hasCompetent": true, "hasRequirement": true, "hasMultipleDays": true, "hasWaitingList": true, "workshopTypeID": 16, "deliveryMethodID": 17, "capacity": 18, "minAttendance": 19, "maxWaitingList": 20, "cost": 21.0, "cancellationCost": 22.0, "isActive": true, "dlaIntegration": true, "userID": 25, "ShopifyLink": "sample string 26", "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. |