POST api/CareOnsiteClinic/SaveOnsiteOrderTypeForClientSetup
Request Information
URI Parameters
None.
Body Parameters
OnSiteLocationDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
String length: inclusive between 0 and 100 |
|
| CompanyCode | string |
String length: inclusive between 0 and 20 |
|
| Address1 | string |
String length: inclusive between 0 and 100 |
|
| Address2 | string |
String length: inclusive between 0 and 100 |
|
| City | string |
String length: inclusive between 0 and 50 |
|
| State | string |
String length: inclusive between 0 and 50 |
|
| ZipCode | string |
String length: inclusive between 0 and 20 |
|
| Country | string |
String length: inclusive between 0 and 50 |
|
| PhoneNumber1 | string |
String length: inclusive between 0 and 50 |
|
| PhoneNumber2 | string |
String length: inclusive between 0 and 50 |
|
| Fax | string |
String length: inclusive between 0 and 50 |
|
| string |
String length: inclusive between 0 and 50 |
||
| ValidFlag | boolean |
None. |
|
| ListOnSiteWorkLocation | Collection of OnSiteWorkLocationDTO |
None. |
|
| ListCareOnSiteLocationTelemedicine | Collection of CareOnSiteLocationTelemedicineDTO |
None. |
|
| ListOnSiteStaff | Collection of OnSiteWebUserDTO |
None. |
|
| ListOnSiteLocationRoom | Collection of CareOnSiteLocationRoomDTO |
None. |
|
| IsScheduling | boolean |
None. |
|
| AverageVisitTime | integer |
None. |
|
| NoOfRoom | integer |
None. |
|
| CompanyName | string |
String length: inclusive between 0 and 100 |
|
| IsOnsiteLocationActive | boolean |
None. |
|
| TimeZone | integer |
None. |
|
| BillingServiceCode | string |
String length: inclusive between 0 and 50 |
|
| NPITaxID | string |
String length: inclusive between 0 and 50 |
|
| RFAId | integer |
None. |
|
| ContactName | string |
String length: inclusive between 0 and 50 |
|
| Speciality | string |
String length: inclusive between 0 and 50 |
|
| RFAEmail | string |
String length: inclusive between 0 and 50 |
|
| RFAPhoneNumber | string |
String length: inclusive between 0 and 50 |
|
| RFAFax | string |
String length: inclusive between 0 and 50 |
|
| FullAddress | string |
String length: inclusive between 0 and 8000 |
|
| ListCareOnSiteLocationOrder | Collection of CareOnSiteLocationOrderDTO |
None. |
|
| Code | string |
String length: inclusive between 0 and 10 |
|
| FacilityCode | string |
None. |
Request Formats
application/json, text/json
{
"Id": 1,
"Name": "sample string 2",
"CompanyCode": "sample string 3",
"Address1": "sample string 4",
"Address2": "sample string 5",
"City": "sample string 6",
"State": "sample string 7",
"ZipCode": "sample string 8",
"Country": "sample string 9",
"PhoneNumber1": "sample string 10",
"PhoneNumber2": "sample string 11",
"Fax": "sample string 12",
"Email": "sample string 13",
"ValidFlag": true,
"ListOnSiteWorkLocation": [
{
"Id": 1,
"WorkLocationCode": "sample string 2",
"WorkLocationName": "sample string 3",
"WorkLocationShortName": "sample string 4",
"CareOnSiteLocationId": 5,
"ValidFlag": true
},
{
"Id": 1,
"WorkLocationCode": "sample string 2",
"WorkLocationName": "sample string 3",
"WorkLocationShortName": "sample string 4",
"CareOnSiteLocationId": 5,
"ValidFlag": true
}
],
"ListCareOnSiteLocationTelemedicine": [
{
"Id": 1,
"TelemedicineId": 2,
"OnSiteLocationId": 3,
"Name": "sample string 4",
"KioskId": "sample string 5",
"ValidFlag": true,
"DateCreated": "2026-06-20T12:51:36.9680705-07:00",
"DateUpdated": "2026-06-20T12:51:36.9680705-07:00",
"UserIDCreated": 9,
"UserIDUpdated": 10,
"CompanyCode": "sample string 11",
"IsExcludeDiscount": true
},
{
"Id": 1,
"TelemedicineId": 2,
"OnSiteLocationId": 3,
"Name": "sample string 4",
"KioskId": "sample string 5",
"ValidFlag": true,
"DateCreated": "2026-06-20T12:51:36.9680705-07:00",
"DateUpdated": "2026-06-20T12:51:36.9680705-07:00",
"UserIDCreated": 9,
"UserIDUpdated": 10,
"CompanyCode": "sample string 11",
"IsExcludeDiscount": true
}
],
"ListOnSiteStaff": [
{
"Id": 1,
"LastName": "sample string 2",
"FirstName": "sample string 3",
"MiddleName": "sample string 4",
"UserId": 5,
"CareOnSiteLocationId": 1,
"ValidFlag": true,
"RoleTitle": "sample string 7",
"FullName": "sample string 3 sample string 2",
"CosSubService": "sample string 8",
"COSSubServiceId": 9
},
{
"Id": 1,
"LastName": "sample string 2",
"FirstName": "sample string 3",
"MiddleName": "sample string 4",
"UserId": 5,
"CareOnSiteLocationId": 1,
"ValidFlag": true,
"RoleTitle": "sample string 7",
"FullName": "sample string 3 sample string 2",
"CosSubService": "sample string 8",
"COSSubServiceId": 9
}
],
"ListOnSiteLocationRoom": [
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"OnSiteLocationId": 4,
"Sequence": 5,
"UserId": 6,
"LastActivateDateStatus": true,
"Email": "sample string 8",
"CellPhone": "sample string 9",
"ValidFlag": true,
"DateCreated": "2026-06-20T12:51:36.9680705-07:00",
"DateUpdated": "2026-06-20T12:51:36.9680705-07:00",
"UserIDCreated": 13,
"UserIDUpdated": 14,
"CompanyCode": "sample string 15",
"IsExcludeDiscount": true
},
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"OnSiteLocationId": 4,
"Sequence": 5,
"UserId": 6,
"LastActivateDateStatus": true,
"Email": "sample string 8",
"CellPhone": "sample string 9",
"ValidFlag": true,
"DateCreated": "2026-06-20T12:51:36.9680705-07:00",
"DateUpdated": "2026-06-20T12:51:36.9680705-07:00",
"UserIDCreated": 13,
"UserIDUpdated": 14,
"CompanyCode": "sample string 15",
"IsExcludeDiscount": true
}
],
"IsScheduling": true,
"AverageVisitTime": 1,
"NoOfRoom": 16,
"CompanyName": "sample string 17",
"IsOnsiteLocationActive": true,
"TimeZone": 1,
"BillingServiceCode": "sample string 19",
"NPITaxID": "sample string 20",
"RFAId": 1,
"ContactName": "sample string 21",
"Speciality": "sample string 22",
"RFAEmail": "sample string 23",
"RFAPhoneNumber": "sample string 24",
"RFAFax": "sample string 25",
"FullAddress": "sample string 4 sample string 5, sample string 6, sample string 7, sample string 8, sample string 9",
"ListCareOnSiteLocationOrder": [
{
"Id": 1,
"OrderTypeId": 2,
"OnSiteLocationId": 3,
"Name": "sample string 4",
"LaboratoryValidFlag": true,
"OrderCategoryId": 6,
"ValidFlag": true,
"DateCreated": "2026-06-20T12:51:36.9680705-07:00",
"DateUpdated": "2026-06-20T12:51:36.9680705-07:00",
"UserIDCreated": 10,
"UserIDUpdated": 11,
"CompanyCode": "sample string 12",
"IsExcludeDiscount": true
},
{
"Id": 1,
"OrderTypeId": 2,
"OnSiteLocationId": 3,
"Name": "sample string 4",
"LaboratoryValidFlag": true,
"OrderCategoryId": 6,
"ValidFlag": true,
"DateCreated": "2026-06-20T12:51:36.9680705-07:00",
"DateUpdated": "2026-06-20T12:51:36.9680705-07:00",
"UserIDCreated": 10,
"UserIDUpdated": 11,
"CompanyCode": "sample string 12",
"IsExcludeDiscount": true
}
],
"Code": "sample string 26",
"FacilityCode": "sample string 27"
}
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
AsapResponseOfOnSiteLocationDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | OnSiteLocationDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"Id": 1,
"Name": "sample string 2",
"CompanyCode": "sample string 3",
"Address1": "sample string 4",
"Address2": "sample string 5",
"City": "sample string 6",
"State": "sample string 7",
"ZipCode": "sample string 8",
"Country": "sample string 9",
"PhoneNumber1": "sample string 10",
"PhoneNumber2": "sample string 11",
"Fax": "sample string 12",
"Email": "sample string 13",
"ValidFlag": true,
"ListOnSiteWorkLocation": [
{
"Id": 1,
"WorkLocationCode": "sample string 2",
"WorkLocationName": "sample string 3",
"WorkLocationShortName": "sample string 4",
"CareOnSiteLocationId": 5,
"ValidFlag": true
},
{
"Id": 1,
"WorkLocationCode": "sample string 2",
"WorkLocationName": "sample string 3",
"WorkLocationShortName": "sample string 4",
"CareOnSiteLocationId": 5,
"ValidFlag": true
}
],
"ListCareOnSiteLocationTelemedicine": [
{
"Id": 1,
"TelemedicineId": 2,
"OnSiteLocationId": 3,
"Name": "sample string 4",
"KioskId": "sample string 5",
"ValidFlag": true,
"DateCreated": "2026-06-20T12:51:36.9680705-07:00",
"DateUpdated": "2026-06-20T12:51:36.9680705-07:00",
"UserIDCreated": 9,
"UserIDUpdated": 10,
"CompanyCode": "sample string 11",
"IsExcludeDiscount": true
},
{
"Id": 1,
"TelemedicineId": 2,
"OnSiteLocationId": 3,
"Name": "sample string 4",
"KioskId": "sample string 5",
"ValidFlag": true,
"DateCreated": "2026-06-20T12:51:36.9680705-07:00",
"DateUpdated": "2026-06-20T12:51:36.9680705-07:00",
"UserIDCreated": 9,
"UserIDUpdated": 10,
"CompanyCode": "sample string 11",
"IsExcludeDiscount": true
}
],
"ListOnSiteStaff": [
{
"Id": 1,
"LastName": "sample string 2",
"FirstName": "sample string 3",
"MiddleName": "sample string 4",
"UserId": 5,
"CareOnSiteLocationId": 1,
"ValidFlag": true,
"RoleTitle": "sample string 7",
"FullName": "sample string 3 sample string 2",
"CosSubService": "sample string 8",
"COSSubServiceId": 9
},
{
"Id": 1,
"LastName": "sample string 2",
"FirstName": "sample string 3",
"MiddleName": "sample string 4",
"UserId": 5,
"CareOnSiteLocationId": 1,
"ValidFlag": true,
"RoleTitle": "sample string 7",
"FullName": "sample string 3 sample string 2",
"CosSubService": "sample string 8",
"COSSubServiceId": 9
}
],
"ListOnSiteLocationRoom": [
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"OnSiteLocationId": 4,
"Sequence": 5,
"UserId": 6,
"LastActivateDateStatus": true,
"Email": "sample string 8",
"CellPhone": "sample string 9",
"ValidFlag": true,
"DateCreated": "2026-06-20T12:51:36.9680705-07:00",
"DateUpdated": "2026-06-20T12:51:36.9680705-07:00",
"UserIDCreated": 13,
"UserIDUpdated": 14,
"CompanyCode": "sample string 15",
"IsExcludeDiscount": true
},
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"OnSiteLocationId": 4,
"Sequence": 5,
"UserId": 6,
"LastActivateDateStatus": true,
"Email": "sample string 8",
"CellPhone": "sample string 9",
"ValidFlag": true,
"DateCreated": "2026-06-20T12:51:36.9680705-07:00",
"DateUpdated": "2026-06-20T12:51:36.9680705-07:00",
"UserIDCreated": 13,
"UserIDUpdated": 14,
"CompanyCode": "sample string 15",
"IsExcludeDiscount": true
}
],
"IsScheduling": true,
"AverageVisitTime": 1,
"NoOfRoom": 16,
"CompanyName": "sample string 17",
"IsOnsiteLocationActive": true,
"TimeZone": 1,
"BillingServiceCode": "sample string 19",
"NPITaxID": "sample string 20",
"RFAId": 1,
"ContactName": "sample string 21",
"Speciality": "sample string 22",
"RFAEmail": "sample string 23",
"RFAPhoneNumber": "sample string 24",
"RFAFax": "sample string 25",
"FullAddress": "sample string 4 sample string 5, sample string 6, sample string 7, sample string 8, sample string 9",
"ListCareOnSiteLocationOrder": [
{
"Id": 1,
"OrderTypeId": 2,
"OnSiteLocationId": 3,
"Name": "sample string 4",
"LaboratoryValidFlag": true,
"OrderCategoryId": 6,
"ValidFlag": true,
"DateCreated": "2026-06-20T12:51:36.9680705-07:00",
"DateUpdated": "2026-06-20T12:51:36.9680705-07:00",
"UserIDCreated": 10,
"UserIDUpdated": 11,
"CompanyCode": "sample string 12",
"IsExcludeDiscount": true
},
{
"Id": 1,
"OrderTypeId": 2,
"OnSiteLocationId": 3,
"Name": "sample string 4",
"LaboratoryValidFlag": true,
"OrderCategoryId": 6,
"ValidFlag": true,
"DateCreated": "2026-06-20T12:51:36.9680705-07:00",
"DateUpdated": "2026-06-20T12:51:36.9680705-07:00",
"UserIDCreated": 10,
"UserIDUpdated": 11,
"CompanyCode": "sample string 12",
"IsExcludeDiscount": true
}
],
"Code": "sample string 26",
"FacilityCode": "sample string 27"
},
"totalCount": 3
}