POST api/service/save

Request Information

URI Parameters

None.

Body Parameters

ServiceModel
NameDescriptionTypeAdditional information
id

integer

None.

service_name

string

Required

created_by

string

None.

updated_by

string

None.

created_date

date

None.

updated_date

date

None.

is_active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "service_name": "sample string 1",
  "created_by": "sample string 2",
  "updated_by": "sample string 3",
  "created_date": "2026-05-01T21:09:48.3854585+00:00",
  "updated_date": "2026-05-01T21:09:48.3854585+00:00",
  "is_active": true
}

text/html

Sample:
{"id":1,"service_name":"sample string 1","created_by":"sample string 2","updated_by":"sample string 3","created_date":"2026-05-01T21:09:48.3854585+00:00","updated_date":"2026-05-01T21:09:48.3854585+00:00","is_active":true}

application/xml, text/xml

Sample:
<ServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models.MasterManagement">
  <created_by xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models">sample string 2</created_by>
  <created_date xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models">2026-05-01T21:09:48.3854585+00:00</created_date>
  <is_active xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models">true</is_active>
  <updated_by xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models">sample string 3</updated_by>
  <updated_date xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models">2026-05-01T21:09:48.3854585+00:00</updated_date>
  <id>1</id>
  <service_name>sample string 1</service_name>
</ServiceModel>

multipart/form-data

Sample:
<ServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models.MasterManagement"><created_by xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models">sample string 2</created_by><created_date xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models">2026-05-01T21:09:48.3854585+00:00</created_date><is_active xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models">true</is_active><updated_by xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models">sample string 3</updated_by><updated_date xmlns="http://schemas.datacontract.org/2004/07/LSAtlas_WebAPI.Models">2026-05-01T21:09:48.3854585+00:00</updated_date><id>1</id><service_name>sample string 1</service_name></ServiceModel>

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.