POST api/WebshopServiceRequests/PostWebshopServiceRequest
Request Information
URI Parameters
None.
Body Parameters
WebshopServiceRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceId | integer |
None. |
|
| ServiceIsFinished | boolean |
None. |
|
| ServiceInProgress | boolean |
None. |
|
| ServiceDate | date |
None. |
|
| ServiceUserName | string |
Required |
|
| ServiceUserEmail | string |
Required |
|
| ServicePhoneNumber | string |
Required |
|
| ServiceQuotationRequest | boolean |
Required |
|
| ServiceOnSite | boolean |
Required |
|
| ServiceOnSiteStreet | string |
None. |
|
| ServiceOnSiteCity | string |
None. |
|
| ServiceOnSitePostal | string |
None. |
|
| ServiceProblemDescrition | string |
Required |
|
| ServiceSendItems | string |
Required |
|
| ServiceDeliverItems | boolean |
Required |
|
| ServiceDeliveryStreet | string |
None. |
|
| ServiceDeliveryCity | string |
None. |
|
| ServiceDeliveryPostal | string |
None. |
|
| ObjectState | ObjectState |
None. |
Request Formats
application/json, text/json
Sample:
{
"serviceId": 1,
"serviceIsFinished": true,
"serviceInProgress": true,
"serviceDate": "2025-12-10T14:11:20.2955874+01:00",
"serviceUserName": "sample string 5",
"serviceUserEmail": "sample string 6",
"servicePhoneNumber": "sample string 7",
"serviceQuotationRequest": true,
"serviceOnSite": true,
"serviceOnSiteStreet": "sample string 10",
"serviceOnSiteCity": "sample string 11",
"serviceOnSitePostal": "sample string 12",
"serviceProblemDescrition": "sample string 13",
"serviceSendItems": "sample string 14",
"serviceDeliverItems": true,
"serviceDeliveryStreet": "sample string 16",
"serviceDeliveryCity": "sample string 17",
"serviceDeliveryPostal": "sample string 18",
"objectState": 0
}
application/xml, text/xml
Sample:
<WebshopServiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Models"> <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState> <ServiceDate>2025-12-10T14:11:20.2955874+01:00</ServiceDate> <ServiceDeliverItems>true</ServiceDeliverItems> <ServiceDeliveryCity>sample string 17</ServiceDeliveryCity> <ServiceDeliveryPostal>sample string 18</ServiceDeliveryPostal> <ServiceDeliveryStreet>sample string 16</ServiceDeliveryStreet> <ServiceId>1</ServiceId> <ServiceInProgress>true</ServiceInProgress> <ServiceIsFinished>true</ServiceIsFinished> <ServiceOnSite>true</ServiceOnSite> <ServiceOnSiteCity>sample string 11</ServiceOnSiteCity> <ServiceOnSitePostal>sample string 12</ServiceOnSitePostal> <ServiceOnSiteStreet>sample string 10</ServiceOnSiteStreet> <ServicePhoneNumber>sample string 7</ServicePhoneNumber> <ServiceProblemDescrition>sample string 13</ServiceProblemDescrition> <ServiceQuotationRequest>true</ServiceQuotationRequest> <ServiceSendItems>sample string 14</ServiceSendItems> <ServiceUserEmail>sample string 6</ServiceUserEmail> <ServiceUserName>sample string 5</ServiceUserName> </WebshopServiceRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>