POST Setup/Service?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
validateOnly | boolean |
Default value is False |
Body Parameters
ServiceDTOName | Description | Type | Additional information |
---|---|---|---|
ServiceID | integer |
None. |
|
ServiceCode | string |
None. |
|
ServiceName | string |
None. |
|
IsVirtualCareEnabled | boolean |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
|
Summary | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "serviceID": 1, "serviceCode": "sample string 2", "serviceName": "sample string 3", "isVirtualCareEnabled": true, "recordState": 1, "created": { "dateUtc": "2024-12-04T07:59:56.5746227+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:59:56 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:59:56.5746227+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:59:56 AM" }, "summary": "ServiceDTO" }
application/xml, text/xml
Sample:
<ServiceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <Created> <DateUtc>2024-12-04T07:59:56.5746227+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <IsVirtualCareEnabled>true</IsVirtualCareEnabled> <LastUpdated> <DateUtc>2024-12-04T07:59:56.5746227+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <RecordState>Active</RecordState> <ServiceCode>sample string 2</ServiceCode> <ServiceID>1</ServiceID> <ServiceName>sample string 3</ServiceName> </ServiceDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� ͐;�0��y�@Z*�!`` Z��X�R�I�P��8W �� `��O������t�R�OA��k�TA�Q�>Gf,e� x�*�����l2���'�pV�m���= L+�k�,�])��7�]Hl�N .��/�<�y$Ñ��0 �BD�%箤v? Zú(��J�~пW��m6^�Ƀ\�����|�֏O��nc���
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. |