Build Patch
Use this API to build a patch.
API
cemli/v1/customers/{supportIdentifier}/services/{serviceType}/products/patches
Scope and AuthZ
- You must have
mcs:oci:api:User
scope to access this API. - You can build patches only for your customer.
- You can use CEMLI patch API only if your customer has opted-in for CEMLI functionality.
Headers
- Authorization: Bearer <Token>
Where <Token> is the OAUTH token returned by the Authorization Server (JWT Token).
- Identifier: <JWKS Identifier>
Where <JWKS Identifier> is the GUID generated when JWKS URI is set by customer admin in self-service platform.
Base Path
/cemli/v1/
Dependency
Functionality
- This API is used to build a patch.
-
supportIdentifier
is one of the values from Get all CSI for a user. -
serviceType
is one of thetypeCode
values from Get Configuration for a CSI for a given supportIdentifier. -
patchId
is unique identifier for the patch. -
name
is name of the patch. -
patchNumber
is patch number stored at backend. -
patchFileName
is name of patch file generated at backend. -
description
is patch description. -
products.name
is name of the product -
products.files.fileId
is the unique identifier for a file.fileId
can be fetched from List Files. -
sequence
is the order of uploaded files.
Verb
POST
Parameters
Name | Type | Description | Mandatory |
---|---|---|---|
serviceType
|
Path parameter | Service type (For example, EBSO, EBSZ, or EBSI) | Yes |
supportIdentifier
|
Path parameter | Customer Support Identifier (CSI) | Yes |
name
|
json | Name of the patch. | Yes |
description
|
json |
Description of patch. |
Yes |
generateJar
|
json | Flag which depicts if jar to be generated or not. | Yes |
Sample request
[
{
"name": "MyManufacturingPatch",
"description": "Patch for the myManufacturing module",
"products": [
{
"name": "xbol",
"files": [
{
"fileId": 10882,
"sequence": 1
},
{
"fileId": 10886,
"sequence": 2
}
]
},
{
"name": "xxeis",
"files": [
{
"fileId": 10980,
"sequence": 5
}
]
}
],
"generateJar": false
}
]
Sample response
[
{
"patchId": 7386,
"name": "MyManufacturingPatch",
"patchNumber": 10000002386,
"patchFileName": "p10000002386_US_R12_cmli.zip",
"products": [
{
"name": "xbol",
"files": [
{
"fileId": 10882,
"fileName": "XxExpenseReportLineEO.xml",
"phase": "first",
"sequence": 1
},
{
"fileId": 10886,
"fileName": "XMLP_PUB_XLF_TILE.xmlp_xlf",
"phase": "last",
"sequence": 2
}
]
},
{
"name": "xxeis",
"files": [
{
"fileId": 10980,
"fileName": "APXCCPUT_XML.xlf",
"phase": "first",
"sequence": 5
}
]
}
]
},
{
"patchId": 7387,
"name": "MyManufacturingPatch",
"patchNumber": 10000002386,
"patchFileName": "p10000002386_AR_R12_cmli.zip",
"products": [
{
"name": "xbol",
"files": [
{
"fileId": 10882,
"fileName": "XxExpenseReportLineEO.xml",
"phase": "first",
"sequence": 1
},
{
"fileId": 10886,
"fileName": "XMLP_PUB_XLF_TILE.xmlp_xlf",
"phase": "last",
"sequence": 2
}
]
},
{
"name": "xxeis",
"files": [
{
"fileId": 10980,
"fileName": "APXCCPUT_XML.xlf",
"phase": "first",
"sequence": 5
}
]
}
]
}
]