POST api/Specification/UpdateSpecification

Updates the specification. Required fields (Unique SpecificationName, ProjectId)

Access

Requires authentication.

Requires SSL.

Request Information

Parameters

NameDescriptionAdditional information
specification
The specification.

Define this parameter in the request body.

Request body formats

application/xml, text/xml

Sample:
<Specification xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Id>1</Id>
  <Readonly>true</Readonly>
  <ProjectId>1</ProjectId>
  <SpecificationName>sample string 1</SpecificationName>
  <LockedAt>2024-05-17T19:18:34.9381997+02:00</LockedAt>
  <LockedByName>sample string 2</LockedByName>
  <FirstLabelColorId>1</FirstLabelColorId>
  <SecondLabelColorId>1</SecondLabelColorId>
  <ObjectDescription1>sample string 3</ObjectDescription1>
  <ObjectDescription2>sample string 4</ObjectDescription2>
  <ObjectDescription3>sample string 5</ObjectDescription3>
  <ObjectDescription4>sample string 6</ObjectDescription4>
</Specification>

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "SpecificationName": "sample string 1",
  "LockedAt": "2024-05-17T19:18:34.9381997+02:00",
  "LockedByName": "sample string 2",
  "FirstLabelColorId": 1,
  "SecondLabelColorId": 1,
  "ObjectDescription1": "sample string 3",
  "ObjectDescription2": "sample string 4",
  "ObjectDescription3": "sample string 5",
  "ObjectDescription4": "sample string 6",
  "Id": 1,
  "Readonly": true
}

Response Information

Response body formats

application/xml, text/xml

Sample:
<ApiResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ResponseCode>1</ResponseCode>
  <ResponseDescription>sample string 2</ResponseDescription>
  <MethodExpirationDate>2024-05-17T19:18:34.9452054+02:00</MethodExpirationDate>
  <ResponseObject>1</ResponseObject>
</ApiResponse>

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseDescription": "sample string 2",
  "MethodExpirationDate": "2024-05-17T19:18:34.9452054+02:00",
  "ResponseObject": 1
}