|
Virima API Specification - AssetLicenseEntitlementService Services
The requests documented in this section are directed to
AssetLicenseEntitlementService resources, which represent .
addAssetLicenseEntitlement POST Interface
Method: POST Relative URL: asset-entitlement/add Request Headers: Accept, Authorization Response Headers: Content-Length, Content-Type. Request Structure: Field Name | Type | Description |
---|
assetLicenseEntitlement | AssetLicenseEntitlements | |
Response Structure: Field Name | Type | Description |
---|
response | Response | |
Example Request: ADDASSETLICENSEENTITLEMENT
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
"displayName":"?",
"cmdbCi": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"softwareLicense": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"lastModifiedBy": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"createdBy": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"createdOn":?,
"archive":?,
"lastModifiedOn":?,
"uniqueId":"?",
"user": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
}
}
Example Response: {
"id":2147483647,
"response":"?"
}
editAssetLicenseEntitlement POST Interface
Method: POST Relative URL: asset-entitlement/edit Request Headers: Accept, Authorization Response Headers: Content-Length, Content-Type. Request Structure: Field Name | Type | Description |
---|
assetLicenseEntitlement | AssetLicenseEntitlements | |
Response Structure: Field Name | Type | Description |
---|
response | Response | |
Example Request: EDITASSETLICENSEENTITLEMENT
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
"displayName":"?",
"cmdbCi": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"softwareLicense": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"lastModifiedBy": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"createdBy": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"createdOn":?,
"archive":?,
"lastModifiedOn":?,
"uniqueId":"?",
"user": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
}
}
Example Response: {
"id":1523660382,
"response":"?"
}
getAllAssetLicenseEntitlements GET Interface
Method: GET Relative URL: asset-entitlement/get Request Headers: Accept, Authorization Response Headers: Content-Length, Content-Type. Response Structure: Field Name | Type | Description |
---|
assetLicenseEntitlementsList | ValueList | |
Example Request: Example Response: {
"id":2147483647,
"StringList":[
{
"id":2147483647,
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
} ],
"projectList":[
{
"id":27443730,
"name":"?",
"description":?,
"plannedStart":?,
"plannedEnd":?,
"actualStart":?,
"actualEnd":?,
"baselineStart":?,
"baselineEnd":?,
"status":"?",
"billingCode":"?",
"costCenter": {
"id":1442471052,
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"percentageComplete":?,
"duration":?,
"archive":?,
"projectManager": {
"id":827778354,
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"isTemplate":?,
"templateName":"?",
"createdFromTemplate":?,
"createdFromTemplateName":"?",
"validationError":?,
"programs":[
{
"id":733208929,
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
} ],
"associatedCis":[
{
"id":2147483647,
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
} ],
"lastModifiedBy": {
"id":2147483647,
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"createdBy": {
"id":2147483647,
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"createdOn":?,
"lastModifiedOn":?,
"uniqueId":"?",
"totalTimeSpent":?
} ]
}
|