POST api/SLAConfig

Request Information

URI Parameters

None.

Body Parameters

SaveSLAConfigModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

IsActive

boolean

None.

EffectiveDate

date

None.

CreatedBy

string

None.

Items

Collection of SLAConfigDetailItem

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "bf784bd3-1539-4547-919f-3390568ae9db",
  "IsActive": true,
  "EffectiveDate": "2026-10-19T07:45:19.732185+07:00",
  "CreatedBy": "sample string 3",
  "Items": [
    {
      "AssetType": 64,
      "PropertyTypeId": "9776fc18-6d17-424e-a238-e674c30b2bf3",
      "DistanceFrom": 3.0,
      "DistanceTo": 1.0,
      "SLAReceive": 4.0,
      "SLASurveyReport": 5.0,
      "SLAControl": 6.0,
      "SLAApproval": 7.0
    },
    {
      "AssetType": 64,
      "PropertyTypeId": "9776fc18-6d17-424e-a238-e674c30b2bf3",
      "DistanceFrom": 3.0,
      "DistanceTo": 1.0,
      "SLAReceive": 4.0,
      "SLASurveyReport": 5.0,
      "SLAControl": 6.0,
      "SLAApproval": 7.0
    }
  ]
}

application/xml, text/xml

Sample:
<SaveSLAConfigModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Configs.SLAConfigModels.EditModels">
  <CreatedBy>sample string 3</CreatedBy>
  <EffectiveDate>2026-10-19T07:45:19.732185+07:00</EffectiveDate>
  <Id>bf784bd3-1539-4547-919f-3390568ae9db</Id>
  <IsActive>true</IsActive>
  <Items>
    <SLAConfigDetailItem>
      <AssetType>64</AssetType>
      <DistanceFrom>3</DistanceFrom>
      <DistanceTo>1</DistanceTo>
      <PropertyTypeId>9776fc18-6d17-424e-a238-e674c30b2bf3</PropertyTypeId>
      <SLAApproval>7</SLAApproval>
      <SLAControl>6</SLAControl>
      <SLAReceive>4</SLAReceive>
      <SLASurveyReport>5</SLASurveyReport>
    </SLAConfigDetailItem>
    <SLAConfigDetailItem>
      <AssetType>64</AssetType>
      <DistanceFrom>3</DistanceFrom>
      <DistanceTo>1</DistanceTo>
      <PropertyTypeId>9776fc18-6d17-424e-a238-e674c30b2bf3</PropertyTypeId>
      <SLAApproval>7</SLAApproval>
      <SLAControl>6</SLAControl>
      <SLAReceive>4</SLAReceive>
      <SLASurveyReport>5</SLASurveyReport>
    </SLAConfigDetailItem>
  </Items>
</SaveSLAConfigModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.