Operation
post /esmService/topoTemplate/createERPTemplatecreateERPTemplate (createERPTemplate : /esmService/topoTemplate/createERPTemplate)
createERPTemplate
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
|---|---|---|---|---|
| body | optional | reqData | nERPTemplateDataHolder |
--- |
Return type
Responses
Response Messages |
Schema |
|---|---|
| 200success |
ServiceTemplateResponse
|
| 201Created | --- |
| 401Unauthorized | --- |
| 403Forbidden | --- |
| 404Not Found | --- |
Consumes
This API call consumes the following media types via the Content-Type request header:
application/xml
Produces
This API call produces the following media types according to the Accept request header;
the media type will be conveyed by the Content-Type response header.
application/xml
External Docs
See Also :
Operation
post /esmService/topoTemplate/deleteERPTemplatedeleteERPTemplate (deleteERPTemplate : /esmService/topoTemplate/deleteERPTemplate)
deleteERPTemplate
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
|---|---|---|---|---|
| body | optional | reqData | nERPTemplateIdHolder |
--- |
Return type
Responses
Response Messages |
Schema |
|---|---|
| 200success |
ERPTemplateIdRespHolder
|
| 201Created | --- |
| 401Unauthorized | --- |
| 403Forbidden | --- |
| 404Not Found | --- |
Consumes
This API call consumes the following media types via the Content-Type request header:
application/xml
Produces
This API call produces the following media types according to the Accept request header;
the media type will be conveyed by the Content-Type response header.
application/xml
External Docs
See Also :
Operation
post /esmService/topoTemplate/modifyERPTemplatemodifyERPTemplate (modifyERPTemplate : /esmService/topoTemplate/modifyERPTemplate)
modifyERPTemplate
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
|---|---|---|---|---|
| body | optional | reqData | nERPTemplateDataHolder |
--- |
Return type
Responses
Response Messages |
Schema |
|---|---|
| 200success |
ERPTemplateIdRespHolder
|
| 201Created | --- |
| 401Unauthorized | --- |
| 403Forbidden | --- |
| 404Not Found | --- |
Consumes
This API call consumes the following media types via the Content-Type request header:
application/xml
Produces
This API call produces the following media types according to the Accept request header;
the media type will be conveyed by the Content-Type response header.
application/xml
External Docs
See Also :
Operation
post /esmService/topoTemplate/publishERPTemplatepublishERPTemplate (publishERPTemplate : /esmService/topoTemplate/publishERPTemplate)
publishERPTemplate
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
|---|---|---|---|---|
| body | optional | reqData | nERPTemplateStateHolder |
--- |
Return type
Responses
Response Messages |
Schema |
|---|---|
| 200success |
ERPTemplateIdRespHolder
|
| 201Created | --- |
| 401Unauthorized | --- |
| 403Forbidden | --- |
| 404Not Found | --- |
Consumes
This API call consumes the following media types via the Content-Type request header:
application/xml
Produces
This API call produces the following media types according to the Accept request header;
the media type will be conveyed by the Content-Type response header.
application/xml
External Docs
See Also :
Operation
post /esmService/topoTemplate/unpublishERPTemplateunpublishERPTemplate (unpublishERPTemplate : /esmService/topoTemplate/unpublishERPTemplate)
unpublishERPTemplate
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
|---|---|---|---|---|
| body | optional | reqData | nERPTemplateStateHolder |
--- |
Return type
Responses
Response Messages |
Schema |
|---|---|
| 200success |
ERPTemplateIdRespHolder
|
| 201Created | --- |
| 401Unauthorized | --- |
| 403Forbidden | --- |
| 404Not Found | --- |
Consumes
This API call consumes the following media types via the Content-Type request header:
application/xml
Produces
This API call produces the following media types according to the Accept request header;
the media type will be conveyed by the Content-Type response header.
application/xml
External Docs
See Also :
ERPTemplateIdRespHolder
Name |
Type |
Description |
Enum |
|---|---|---|---|
| responseId | ResponseHeader ResponseHeader |
--- | --- |
| rsp | nERPTemplateId nERPTemplateId |
--- | --- |
nERPTemplateData
Name |
Type |
Description |
Enum |
|---|---|---|---|
| tempId | nERPTemplateId nERPTemplateId |
--- | --- |
| descr | String string |
--- | --- |
| author | String string |
--- | --- |
| protectiondata | ProtectionParams ProtectionParams |
--- | --- |
| templateState | String string |
--- | --- |
| createTime | Long long |
--- | --- |
| modifyTime | Long long |
--- | --- |
| preProvCliCmd | String string |
--- | --- |
| postProvCliCmd | String string |
--- | --- |
| additionalInfo | Object object |
--- | --- |
| ringType | String string |
--- | --- |
| propagateTopolgyChange | Integer integer |
--- | --- |
| sharedVpls | Integer integer |
--- | --- |
nERPTemplateDataHolder
Name |
Type |
Description |
Enum |
|---|---|---|---|
| sessionId | String string |
--- | --- |
| requestURI | String string |
--- | --- |
| logReqId | String string |
--- | --- |
| operator | String string |
--- | --- |
| client | String string |
--- | --- |
| reqId | RequestHeader RequestHeader |
--- | --- |
| req | nERPTemplateData nERPTemplateData |
--- | --- |
| oamTemplate | nOAMTemplateId nOAMTemplateId |
--- | --- |
| activate | Boolean boolean |
--- | --- |
nERPTemplateIdHolder
Name |
Type |
Description |
Enum |
|---|---|---|---|
| sessionId | String string |
--- | --- |
| requestURI | String string |
--- | --- |
| logReqId | String string |
--- | --- |
| operator | String string |
--- | --- |
| client | String string |
--- | --- |
| reqId | RequestHeader RequestHeader |
--- | --- |
| req | nERPTemplateId nERPTemplateId |
--- | --- |
| activate | Boolean boolean |
--- | --- |
nERPTemplateState
Name |
Type |
Description |
Enum |
|---|---|---|---|
| templateId | nERPTemplateId nERPTemplateId |
--- | --- |
| templateState | String string |
--- | --- |
nERPTemplateStateHolder
Name |
Type |
Description |
Enum |
|---|---|---|---|
| sessionId | String string |
--- | --- |
| requestURI | String string |
--- | --- |
| logReqId | String string |
--- | --- |
| operator | String string |
--- | --- |
| client | String string |
--- | --- |
| reqId | RequestHeader RequestHeader |
--- | --- |
| req | nERPTemplateState nERPTemplateState |
--- | --- |
| activate | Boolean boolean |
--- | --- |
ProtectionParams
Name |
Type |
Description |
Enum |
|---|---|---|---|
| revertive | Boolean boolean |
--- | --- |
| guardtime | Integer integer |
--- | --- |
| revertTime | Integer integer |
--- | --- |
| holdUpTime | Integer integer |
--- | --- |
| holdDownTime | Integer integer |
--- | --- |
| holdTimeType | String string |
--- | --- |
| protectionSwitchState | String string |
--- | --- |
| additionalInfo | Object object |
--- | --- |
| templateId | Integer integer |
--- | --- |
ResponseHeader
Name |
Type |
Description |
Enum |
|---|---|---|---|
| req | RequestHeader RequestHeader |
--- | --- |
| errorReason | String string |
--- | --- |
| errorCode | String string |
--- | --- |
| message | String string |
--- | --- |
| cmdStatus | String string |
--- | --- |
| opMsg | String string |
--- | --- |
| msgCode | String string |
--- | --- |
| parameters | array[String] string |
--- | --- |
| paramCount | Integer integer |
--- | --- |
| objectId | Integer integer |
--- | --- |
| jobName | String string |
--- | --- |
| objectType | Integer integer |
--- | --- |