POST api/CampusLife/AddNewServiceInformation
Request Information
URI Parameters
None.
Body Parameters
ServiceInputViewModelName | Description | Type | Additional information |
---|---|---|---|
Title | string |
None. |
|
Description | string |
None. |
|
ShortDescription | string |
None. |
|
ContactNumber | string |
None. |
|
string |
None. |
||
Address | string |
None. |
|
OpeningTime | date |
None. |
|
ClosingTime | date |
None. |
|
ImageUrl | string |
None. |
|
ServiceLinkUrl | string |
None. |
|
IsServiceCategoryNeedToBeCreated | boolean |
None. |
|
ServiceCategoryID | Collection of globally unique identifier |
None. |
|
ServiceCategory | ServiceCategoryViewModel |
None. |
|
GpsCoordinates | GpsCoordinate |
None. |
Request Formats
application/json, text/json
Sample:
{ "Title": "sample string 1", "Description": "sample string 2", "ShortDescription": "sample string 3", "ContactNumber": "sample string 4", "Email": "sample string 5", "Address": "sample string 6", "OpeningTime": "2025-06-27T15:34:27.0435366+02:00", "ClosingTime": "2025-06-27T15:34:27.0435366+02:00", "ImageUrl": "sample string 7", "ServiceLinkUrl": "sample string 8", "IsServiceCategoryNeedToBeCreated": true, "ServiceCategoryID": [ "5b29c3c4-f556-4dbd-9ab0-1ac583fbf9c6", "1f67c8d1-a138-41a5-9248-912310e3c31a" ], "ServiceCategory": { "Title": "sample string 1", "Description": "sample string 2" }, "GpsCoordinates": { "ID": "fb1bc498-696f-44fb-a4ff-382d42eebb89", "Longitude": 2.0, "Latitude": 3.0 } }
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.