POST SaveServiceAPI?databaseKey={databaseKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
databaseKey

string

Required

Body Parameters

SaveService_BO
NameDescriptionTypeAdditional information
ServiceId

integer

None.

ServiceNo

string

None.

ServiceStartTime

date

None.

ServiceEndTime

date

None.

ServiceById

string

None.

ServiceBy

string

None.

NextDueDate

date

None.

AssetId

string

None.

AssetName

string

None.

Location

string

None.

IssueName

string

None.

ServiceDesc

string

None.

Status

string

None.

ServiceType

string

None.

PendingType

string

None.

PendingReason

string

None.

SerSheetName

string

None.

Department

string

None.

DeptId

string

None.

TicketNo

string

None.

TicketId

string

None.

CheckListStr

string

None.

IssueReason

string

None.

IssueType

string

None.

ActualDateTime

date

None.

RaisedBy

string

None.

IpAddress

string

None.

Sp_SqlAction

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceId": 1,
  "ServiceNo": "sample string 2",
  "ServiceStartTime": "2025-12-06T09:31:44.3950694+05:30",
  "ServiceEndTime": "2025-12-06T09:31:44.3950694+05:30",
  "ServiceById": "sample string 5",
  "ServiceBy": "sample string 6",
  "NextDueDate": "2025-12-06T09:31:44.3950694+05:30",
  "AssetId": "sample string 8",
  "AssetName": "sample string 9",
  "Location": "sample string 10",
  "IssueName": "sample string 11",
  "ServiceDesc": "sample string 12",
  "Status": "sample string 13",
  "ServiceType": "sample string 14",
  "PendingType": "sample string 15",
  "PendingReason": "sample string 16",
  "SerSheetName": "sample string 17",
  "Department": "sample string 18",
  "DeptId": "sample string 19",
  "TicketNo": "sample string 20",
  "TicketId": "sample string 21",
  "CheckListStr": "sample string 22",
  "IssueReason": "sample string 23",
  "IssueType": "sample string 24",
  "ActualDateTime": "2025-12-06T09:31:44.3950694+05:30",
  "RaisedBy": "sample string 26",
  "IpAddress": "sample string 27",
  "Sp_SqlAction": "sample string 28"
}

application/xml, text/xml

Sample:
<SaveService_BO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rx2025_Api.Controllers">
  <ActualDateTime>2025-12-06T09:31:44.3950694+05:30</ActualDateTime>
  <AssetId>sample string 8</AssetId>
  <AssetName>sample string 9</AssetName>
  <CheckListStr>sample string 22</CheckListStr>
  <Department>sample string 18</Department>
  <DeptId>sample string 19</DeptId>
  <IpAddress>sample string 27</IpAddress>
  <IssueName>sample string 11</IssueName>
  <IssueReason>sample string 23</IssueReason>
  <IssueType>sample string 24</IssueType>
  <Location>sample string 10</Location>
  <NextDueDate>2025-12-06T09:31:44.3950694+05:30</NextDueDate>
  <PendingReason>sample string 16</PendingReason>
  <PendingType>sample string 15</PendingType>
  <RaisedBy>sample string 26</RaisedBy>
  <SerSheetName>sample string 17</SerSheetName>
  <ServiceBy>sample string 6</ServiceBy>
  <ServiceById>sample string 5</ServiceById>
  <ServiceDesc>sample string 12</ServiceDesc>
  <ServiceEndTime>2025-12-06T09:31:44.3950694+05:30</ServiceEndTime>
  <ServiceId>1</ServiceId>
  <ServiceNo>sample string 2</ServiceNo>
  <ServiceStartTime>2025-12-06T09:31:44.3950694+05:30</ServiceStartTime>
  <ServiceType>sample string 14</ServiceType>
  <Sp_SqlAction>sample string 28</Sp_SqlAction>
  <Status>sample string 13</Status>
  <TicketId>sample string 21</TicketId>
  <TicketNo>sample string 20</TicketNo>
</SaveService_BO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveService_BO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.