PUT api/Service/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Service
NameDescriptionTypeAdditional information
ServiceId

integer

None.

ServiceName

string

None.

Amount

integer

None.

CreatedDate

date

Data type: DateTime

CreatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceId": 1,
  "ServiceName": "sample string 2",
  "Amount": 3,
  "CreatedDate": "2025-12-08T01:22:51.4707183+05:30",
  "CreatedBy": "sample string 5"
}

application/xml, text/xml

Sample:
<Service xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Morph.Domain.Entities">
  <CreatedBy>sample string 5</CreatedBy>
  <CreatedDate>2025-12-08T01:22:51.4707183+05:30</CreatedDate>
  <Amount>3</Amount>
  <ServiceId>1</ServiceId>
  <ServiceName>sample string 2</ServiceName>
</Service>

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.