Git Product home page Git Product logo

tririga-api's Introduction

TRIRIGA APIs

Resources

Name Description
TRIRIGA APIs OM Package TRIRIGA Object Migration package that provides all APIs listed here
POSTMAN Collection POSTMAN Collection that can be imported in POSTMAN
TRIRIGA OSLC Cheat Sheet Useful OSLC Commands

Sample JSON Payloads

Module Business Object Inbound Payload Outbound Payload Outbound Payload using GET
Asset Building Equipment - Create/Update
- Retire
Activate
Retire
triAPICOutboundAssetQC
Classification Request Class - Save
Classification Space Class Current - Save
Classification Asset Spec Class - Activate
People People - Create/Update
- Retire
Activate
Retire
triAPICOutboundPeopleQC
Location Property - Create/Update
- Retire
Activate
Retire
triAPICOutboundPropertyQC
Location Building - Create/Update
- Retire
Activate
Retire
triAPICOutboundBuildingQC
Location Floor - Create/Update
- Retire
Activate
Retire
triAPICOutboundFloorQC
Location Space - Create/Update
- Retire
Activate
Retire
triAPICOutboundSpaceQC
Organization Organization - Create/Update
- Retire
Activate
Retire
triAPICOutboundOrganizationQC
Request Service Request - Create
- Retire
Submit
Retire
triAPICOutboundServiceRequestQC
Task Work Task - Create/Update Activate triAPICOutboundWorkTaskQC

tririga-api's People

Contributors

andungu20 avatar bmonte11 avatar stevemar avatar sumitpuri avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

tririga-api's Issues

Get data of a form

Hi,
I would like to get the form fields of Energy Use from an existing building using api.
Is there an example api to get the data like "triEnvElectricityEmissionData"?
What IDs are going to be inside the query?

Thank you

"People Object" update problem

Hello,

I was trying the operations with "People Object" based on the documentation.
The Create and Retire operations work properly for me, but when i try to Update the "People Object", always get this error message:

{
    "oslc:Error": {
        "oslc:statusCode": "400",
        "oslc:message": "The smart object ID is missing in the request.",
        "oslc:extendedError": {
            "oslc:moreInfo": {
                "rdf:resource": "http://localhost:8001/oslc/system/error/OSLC0016"
            }
        }
    }
}

I use this uri:

http://localhost:8001/oslc/so/triAPICPeopleCF

The request body is:

{
   "spi:action": "Create Draft",
   "spi:triOperationTX": "Create/Update",
   "spi:triSubOperationTX": "",
   "spi:triExternalReferenceTX": "12345678",
   "spi:triPeopleTypeTX": "Employee",
   "spi:triIdTX": "100",
   "spi:triFirstNameTX": "Mici 0615_5",
   "spi:triLastNameTX": "Mackó 0615_5",
   "spi:triUserNameTX": "user0615_5",
   "spi:triPrimaryLocPathTX": "\\Locations\\Campus Building\\Floor 0\\00-L01",
   "spi:triPrimaryOrgPathTX": "\\Organizations\\Cleaning Workgroup",
   "spi:triPrimaryOrgRecordIDTX": "136764951",
   "spi:triPrimaryLocRecordIDTX": "136893236",
   "spi:triAddressTX": "1234 Main St",
   "spi:triZipPostalTX": "89119",
   "spi:triCityTX": "Las Vegas",
   "spi:triStateProvTX": "Nevada",
   "spi:triCountryTX": "USA",
   "spi:triActiveStartDA": "1986-04-20T00:00:00-08:00",
   "spi:triActiveEndDA": "1996-04-20T00:00:00-08:00",
   "spi:triEmailTX": "[email protected]",
   "spi:triWorkPhoneTX": "7023458912",
   "spi:triPeopleTemplateTX": "Teszt"
}

I also added these parameters to the request header:

x-method-override: PATCH
PATCHTYPE: MERGE

Could you help me what wrong with this?
Thank you!

Zoltan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.