Adds a new Covenant Maintenance
post
/api/1.0/covenantmaintenance
This operation adds a new covenantmaintenance using Covenant Maintenance Service.
Request
Supported Media Types
- application/json
- application/xml
Request Body that contains data required for creating a new covenantmaintenance
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : ClmoTmCovenantsDTO-allOf[1]
Type:
Show Source
object
-
covenantsDetails(optional):
array covenantsDetails
-
partyId(optional):
string
partyId
-
partyName(optional):
string
partyName
-
partyNumber(optional):
string
partyNumber
-
projectName(optional):
string
Maximum Length:
105
projectName
Nested Schema : ClmoTmCovenantsDetailsDTO
Type:
Show Source
object
-
covenantsId(optional):
string
covenantsId
-
description(optional):
string
description
-
dueBy(optional):
string
dueBy
-
endBy(optional):
string
endBy
-
frequency(optional):
string
frequency
-
id(optional):
string
id
-
name(optional):
string
name
-
reminderDays(optional):
number
reminderDays
-
status(optional):
string
status
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of succes or failure
Headers
-
Location: string
URL of newly created covenantmaintenance
Root Schema : ResponseDtoWrapper
Type:
Show Source
object
-
data(optional):
ResponseResourceSupport
-
messages(optional):
object ResponseDto
ResponseDto model
Nested Schema : ResponseResourceSupport
Match All
Show Source
-
object
ResponseResourceSupport-allOf[0]
Discriminator:
resouce_type
Nested Schema : ResponseDto
Type:
object
ResponseDto model
Show Source
-
codes(optional):
string
Codes
-
httpStatusCode(optional):
array httpStatusCode
Schedule Details
-
keyId(optional):
string
KeyId
-
overrideAuthLevelsReqd(optional):
string
OverrideAuthLevelsReqd
-
requestId(optional):
string
RequestId
-
status(optional):
string
Status
Nested Schema : ResponseResourceSupport-allOf[0]
Type:
object
Discriminator:
resouce_type
Nested Schema : httpStatusCode
Type:
array
Schedule Details
Show Source
-
Array of:
object responseCodes
ResponseCodes
Nested Schema : responseCodes
Type:
object
ResponseCodes
Show Source
-
code(optional):
string
Code
-
desc(optional):
string
Description
-
error(optional):
string
Error
-
info(optional):
string
Info
-
language(optional):
string
Language
-
override(optional):
string
Override
-
type(optional):
string
Type
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error