POST api/ServiceRequest/CreateOrUpdateServiceRequest

Request Information

URI Parameters

None.

Body Parameters

ServiceRequest
NameDescriptionTypeAdditional information
ServiceRequestID

integer

None.

LocationName

string

Required

String length: inclusive between 0 and 100

ServiceName

string

Required

String length: inclusive between 0 and 100

ServiceNameLong

string

Required

String length: inclusive between 0 and 1000

ServiceTypeName

string

Required

String length: inclusive between 0 and 50

RequestStatus

string

Required

CPTCode

string

String length: inclusive between 0 and 50

DifferByPercentage

string

Required

String length: inclusive between 0 and 3

SACCode

string

String length: inclusive between 0 and 50

CreatedOn

date

None.

RequestedOn

date

None.

RequestTime

string

None.

RequestedBy

string

String length: inclusive between 0 and 50

RequestedByEmployeeCode

string

None.

ReviewedOn

date

None.

ReviewedBy

string

String length: inclusive between 0 and 50

ReviewedByEmployeeCode

string

None.

ApprovedOn

date

None.

ApprovedBy

string

String length: inclusive between 0 and 50

ApprovedByEmployeeCode

string

None.

RejectedOn

date

None.

RejectedBy

string

String length: inclusive between 0 and 50

RejectedByEmployeeCode

string

None.

DifferByBedCategory

string

Required

String length: inclusive between 0 and 3

Remarks

string

String length: inclusive between 0 and 500

BillingGroupName

string

String length: inclusive between 0 and 50

SubSpecialityName

string

Required

String length: inclusive between 0 and 50

Speciality

string

Required

String length: inclusive between 0 and 50

ServiceCode

string

String length: inclusive between 0 and 50

UserName

string

Required

String length: inclusive between 0 and 50

CanAdminChangePendingStatus

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceRequestID": 1,
  "LocationName": "sample string 2",
  "ServiceName": "sample string 3",
  "ServiceNameLong": "sample string 4",
  "ServiceTypeName": "sample string 5",
  "RequestStatus": "sample string 6",
  "CPTCode": "sample string 7",
  "DifferByPercentage": "sample string 8",
  "SACCode": "sample string 9",
  "CreatedOn": "2025-12-06T09:52:46.6983142+05:30",
  "RequestedOn": "2025-12-06T09:52:46.6983142+05:30",
  "RequestTime": "sample string 12",
  "RequestedBy": "sample string 13",
  "RequestedByEmployeeCode": "sample string 14",
  "ReviewedOn": "2025-12-06T09:52:46.6983142+05:30",
  "ReviewedBy": "sample string 15",
  "ReviewedByEmployeeCode": "sample string 16",
  "ApprovedOn": "2025-12-06T09:52:46.6983142+05:30",
  "ApprovedBy": "sample string 17",
  "ApprovedByEmployeeCode": "sample string 18",
  "RejectedOn": "2025-12-06T09:52:46.6983142+05:30",
  "RejectedBy": "sample string 19",
  "RejectedByEmployeeCode": "sample string 20",
  "DifferByBedCategory": "sample string 21",
  "Remarks": "sample string 22",
  "BillingGroupName": "sample string 23",
  "SubSpecialityName": "sample string 24",
  "Speciality": "sample string 25",
  "ServiceCode": "sample string 26",
  "UserName": "sample string 27",
  "CanAdminChangePendingStatus": true
}

application/xml, text/xml

Sample:
<ServiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MDMWebAPI.Models">
  <ApprovedBy>sample string 17</ApprovedBy>
  <ApprovedByEmployeeCode>sample string 18</ApprovedByEmployeeCode>
  <ApprovedOn>2025-12-06T09:52:46.6983142+05:30</ApprovedOn>
  <BillingGroupName>sample string 23</BillingGroupName>
  <CPTCode>sample string 7</CPTCode>
  <CanAdminChangePendingStatus>true</CanAdminChangePendingStatus>
  <CreatedOn>2025-12-06T09:52:46.6983142+05:30</CreatedOn>
  <DifferByBedCategory>sample string 21</DifferByBedCategory>
  <DifferByPercentage>sample string 8</DifferByPercentage>
  <LocationName>sample string 2</LocationName>
  <RejectedBy>sample string 19</RejectedBy>
  <RejectedByEmployeeCode>sample string 20</RejectedByEmployeeCode>
  <RejectedOn>2025-12-06T09:52:46.6983142+05:30</RejectedOn>
  <Remarks>sample string 22</Remarks>
  <RequestStatus>sample string 6</RequestStatus>
  <RequestTime>sample string 12</RequestTime>
  <RequestedBy>sample string 13</RequestedBy>
  <RequestedByEmployeeCode>sample string 14</RequestedByEmployeeCode>
  <RequestedOn>2025-12-06T09:52:46.6983142+05:30</RequestedOn>
  <ReviewedBy>sample string 15</ReviewedBy>
  <ReviewedByEmployeeCode>sample string 16</ReviewedByEmployeeCode>
  <ReviewedOn>2025-12-06T09:52:46.6983142+05:30</ReviewedOn>
  <SACCode>sample string 9</SACCode>
  <ServiceCode>sample string 26</ServiceCode>
  <ServiceName>sample string 3</ServiceName>
  <ServiceNameLong>sample string 4</ServiceNameLong>
  <ServiceRequestID>1</ServiceRequestID>
  <ServiceTypeName>sample string 5</ServiceTypeName>
  <Speciality>sample string 25</Speciality>
  <SubSpecialityName>sample string 24</SubSpecialityName>
  <UserName>sample string 27</UserName>
</ServiceRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.