List all blueprints in a department
GET {{baseUrl}}/api/v1/blueprints?module=<String>
To get all blueprints in a specific department
OAuth Scope
Desk.settings.READ
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
departmentId | string | Department for which the blueprints are listed | |
module | string | module of the blueprints to be listed | |
status | string | To get blueprints by status, allowed values are ACTIVE ,INACTIVE and DRAFT |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"data":[{"modifiedTime":"2018-05-04 08:07:57.0","orderNumber":"3","createdUserZUID":"5263696","departmentId":"1000000010712","module":"tickets","isDraft":false,"description":"","modifiedUserZUID":"5263696","active":true,"type":"NON_CONTINUOUS","transitions":[{"name":"Issue fixed","id":"1000000309105"}],"layoutId":"1000000011200","states":[{"name":"Open","id":1000000309101},{"name":"Closed","id":1000000309119}],"i18nFieldLabel":"Status","fieldLabel":"Status","name":"Automate QA process","createdTime":"2018-05-02 13:39:30.0","id":"1000000309097","connections":[{"fromState":{"name":"Open","id":"1000000309101"},"toState":{"name":"Closed","id":"1000000309119"},"transitions":[{"name":"Issue fixed","id":"1000000309105"}]}],"fieldId":"1000000000506"},{"modifiedTime":"2018-04-24 05:53:28.0","orderNumber":"4","createdUserZUID":"5263696","departmentId":"1000000010712","module":"tickets","isDraft":true,"description":"","modifiedUserZUID":"5263696","active":true,"type":"NON_CONTINUOUS","transitions":[{"name":"before","id":"1000000232199"},{"name":"after","id":"1000000232197"},{"name":"during","id":"1000000232201"}],"layoutId":"1000000011200","states":[{"name":"Closed","id":1000000232189},{"name":"On Hold","id":1000000232191},{"name":"Open","id":1000000232193},{"name":"Escalated","id":1000000232195}],"i18nFieldLabel":"Status","fieldLabel":"Status","name":"AUtomate HR process","createdTime":"2018-04-10 15:43:54.0","id":"1000000232187","connections":[{"fromState":{"name":"On Hold","id":"1000000232191"},"toState":{"name":"Escalated","id":"1000000232195"},"transitions":[{"name":"before","id":"1000000232199"}]},{"fromState":{"name":"Open","id":"1000000232193"},"toState":{"name":"On Hold","id":"1000000232191"},"transitions":[{"name":"after","id":"1000000232197"}]},{"fromState":{"name":"Escalated","id":"1000000232195"},"toState":{"name":"Closed","id":"1000000232189"},"transitions":[{"name":"during","id":"1000000232201"}]}],"fieldId":"1000000000506"},{"modifiedTime":"2018-04-03 13:34:08.0","orderNumber":"5","createdUserZUID":"5263696","departmentId":"1000000010712","module":"tickets","isDraft":false,"description":"","modifiedUserZUID":"5263696","active":true,"type":"NON_CONTINUOUS","transitions":[{"name":"to onhold","id":"1000000173011"},{"name":"To close","id":"1000000173009"}],"layoutId":"1000000011200","states":[{"name":"Closed","id":1000000173003},{"name":"Open","id":1000000173005},{"name":"On Hold","id":1000000173007}],"i18nFieldLabel":"Status","fieldLabel":"Status","name":"Shipping process","createdTime":"2018-03-28 12:29:11.0","id":"1000000173001","connections":[{"fromState":{"name":"Open","id":"1000000173005"},"toState":{"name":"On Hold","id":"1000000173007"},"transitions":[{"name":"to onhold","id":"1000000173011"}]},{"fromState":{"name":"On Hold","id":"1000000173007"},"toState":{"name":"Closed","id":"1000000173003"},"transitions":[{"name":"To close","id":"1000000173009"}]}],"fieldId":"1000000000506"},{"modifiedTime":"2018-05-03 13:18:24.0","orderNumber":"5","createdUserZUID":"5263696","departmentId":"1000000010712","module":"tickets","isDraft":false,"description":"","modifiedUserZUID":"5263696","active":true,"type":"NON_CONTINUOUS","transitions":[{"name":"t1","id":"1000000313281"}],"layoutId":"1000000011200","states":[{"name":"Approval 2","id":1000000313277},{"name":"Approval 2 approved","id":1000000313279}],"i18nFieldLabel":"Status","fieldLabel":"Status","name":"Ticket Support process","createdTime":"2018-05-03 13:18:24.0","id":"1000000313275","connections":[{"fromState":{"name":"Approval 2 approved","id":"1000000313279"},"toState":{"name":"Approval 2","id":"1000000313277"},"transitions":[{"name":"t1","id":"1000000313281"}]}],"fieldId":"1000000000506"}]}