|
Virima API Specification - ServiceOffering Services
The requests documented in this section are directed to
ServiceOffering resources, which represent .
addServiceOffering POST Interface
Method: POST Relative URL: business_service_offering/add Request Headers: Accept, Authorization Response Headers: Content-Length, Content-Type. Request Structure: Field Name | Type | Description |
---|
serviceoffer | ServiceOffer | |
Response Structure: Field Name | Type | Description |
---|
response | Response | |
Example Request: ADDSERVICEOFFERING
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
"name":"?",
"description":"?",
"priceModel":"?",
"priceUnit":"?",
"price":?,
"operationalStatus":"?",
"status":"?",
"billing":"?",
"supportedBy": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"managedBy": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"managedByName":"?",
"supportGroup": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"location": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"createdBy": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"createdOn":?,
"archive":?,
"lastModifiedBy": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"lastModifiedOn":?,
"parent": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"businessService": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"serviceCommitmentsList":[
{
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
} ],
"uniqueId":"?"
}
Example Response: {
"id":2147483647,
"response":"?"
}
editServiceOffering POST Interface
Method: POST Relative URL: business_service_offering/edit Request Headers: Accept, Authorization Response Headers: Content-Length, Content-Type. Request Structure: Field Name | Type | Description |
---|
serviceoffer | ServiceOffer | |
Response Structure: Field Name | Type | Description |
---|
response | Response | |
Example Request: EDITSERVICEOFFERING
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
"name":"?",
"description":"?",
"priceModel":"?",
"priceUnit":"?",
"price":?,
"operationalStatus":"?",
"status":"?",
"billing":"?",
"supportedBy": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"managedBy": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"managedByName":"?",
"supportGroup": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"location": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"createdBy": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"createdOn":?,
"archive":?,
"lastModifiedBy": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"lastModifiedOn":?,
"parent": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"businessService": {
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"serviceCommitmentsList":[
{
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
} ],
"uniqueId":"?"
}
Example Response: {
"id":1806396011,
"response":"?"
}
getAllServicesOfferings GET Interface
Method: GET Relative URL: business_service_offering/get Request Headers: Accept, Authorization Response Headers: Content-Length, Content-Type. Response Structure: Field Name | Type | Description |
---|
servicesOfferings | ValueList | |
Example Request: Example Response: {
"id":2147483647,
"StringList":[
{
"id":2147483647,
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
} ],
"projectList":[
{
"id":2147483647,
"name":"?",
"description":?,
"plannedStart":?,
"plannedEnd":?,
"actualStart":?,
"actualEnd":?,
"baselineStart":?,
"baselineEnd":?,
"status":"?",
"billingCode":"?",
"costCenter": {
"id":2147483647,
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"percentageComplete":?,
"duration":?,
"archive":?,
"projectManager": {
"id":2147483647,
"stringobj":"?",
"shortName":"?",
"s3Name":"?",
"uniqueId":"?",
"lineType":"?",
},
"isTemplate":?,
"templateName":"?",
"createdFromTemplate":?,
"createdFromTemplateName":"?",
"validationError":?,
"programs":[
{
"id":2147483647,
"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":?
} ]
}
|