{
    "info": {
        "_postman_id": "f5e9a2e3-2abd-49d4-93ff-baf8b937395e",
        "name": "ows-project-manager audit ",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "item": [
        {
            "name": "ows-project-manager",
            "item": [
                {
                    "name": "Check the health of the application",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/hello",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "hello"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Check health of db connectivity",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/hello_db",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "hello_db"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get the list of genre options for products",
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    },
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Correlation-Id",
                                "value": "UUID",
                                "type": "text"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": ""
                        },
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/product/genres",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "product",
                                "genres"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Public - Get the list of genre options for products",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Cache-Control",
                                "value": "max-age=3600",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Correlation-Id",
                                "value": "UUID",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/public/product/genres",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "public",
                                "product",
                                "genres"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get product imprint options",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Grass-Account-Type",
                                "value": "vendor",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Grass-Account-Id",
                                "value": "25663",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Orchard-User-Id",
                                "value": "alw:43556",
                                "type": "text",
                                "disabled": true
                            }
                        ],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/project/3955987/product/imprints",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "project",
                                "3955987",
                                "product",
                                "imprints"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get the list of subgenre options for products given a genre id",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Correlation-Id",
                                "value": "UUID",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/product/genres/20/subgenres",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "product",
                                "genres",
                                "20",
                                "subgenres"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Public Get the list of subgenre options for products given a genre id",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Correlation-Id",
                                "value": "UUID",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/public/product/genres/1/subgenres",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "public",
                                "product",
                                "genres",
                                "1",
                                "subgenres"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get the list of type options for products",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Correlation-Id",
                                "value": "UUID",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/product/types",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "product",
                                "types"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Create / Post a project",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Correlation-Id",
                                "value": "UUID",
                                "type": "text"
                            },
                            {
                                "key": "Grass-Account-Type",
                                "value": "subaccount",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Grass-Account-Id",
                                "value": "25663",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Orchard-User-Id",
                                "value": "alw:47940",
                                "type": "text",
                                "disabled": true
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\n\t\"artist_id\": 1730424,\n\t\"project_code\": \"RFTEST123456\",\n\t\"project_name\": \"Rainy Forest Test22\",\n\t\"subaccount_id\": 22699\n}"
                        },
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/project",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "project"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Updates project in project table",
                    "request": {
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Correlation-Id",
                                "value": "UUID",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            },
                            {
                                "key": "Grass-Account-Type",
                                "value": "vendor",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Grass-Account-Id",
                                "value": "25412",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Orchard-User-Id",
                                "value": "alw:12345",
                                "type": "text",
                                "disabled": true
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{ \r\n\t\"artist_id\": 1740583,\r\n\t\"description\": \"null\",\r\n\t\"project_code\": \"NLTEST2\",\r\n\t\"project_highlights\": \"\",\r\n\t\"project_name\": \"NLTEST123\",\r\n\t\"subaccount_name\": \"26640 Sub-account 1\",\r\n\t\"vendor_name\": \"\"\r\n}"
                        },
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/project/4284459",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "project",
                                "4284459"
                            ],
                            "query": [
                                {
                                    "key": "",
                                    "value": "",
                                    "disabled": true
                                },
                                {
                                    "key": "",
                                    "value": "",
                                    "disabled": true
                                }
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get project",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Correlation-Id",
                                "value": "UUID",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/project/4284459",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "project",
                                "4284459"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get project by parameter",
                    "protocolProfileBehavior": {
                        "disableBodyPruning": true
                    },
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Correlation-Id",
                                "value": "UUID",
                                "type": "text"
                            },
                            {
                                "key": "Grass-Account-Type",
                                "value": "subaccount",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Grass-Account-Id",
                                "value": "32365",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Orchard-User-Id",
                                "value": "alw:43556",
                                "type": "text",
                                "disabled": true
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": ""
                        },
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/project?project_code=DDEXMLCSub-acc1",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "project"
                            ],
                            "query": [
                                {
                                    "key": "project_code",
                                    "value": "DDEXMLCSub-acc1"
                                }
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Delete a project with no associated products",
                    "request": {
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Correlation-Id",
                                "value": "UUID",
                                "type": "text"
                            },
                            {
                                "key": "Content-Type",
                                "value": "application/json",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/project/4284459",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "project",
                                "4284459"
                            ]
                        },
                        "description": "Create a new project WITHOUT any products"
                    },
                    "response": []
                },
                {
                    "name": "Get products for project",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Correlation-Id",
                                "value": "UUID",
                                "type": "text"
                            },
                            {
                                "key": "Grass-Account-Type",
                                "value": "vendor",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Grass-Account-Id",
                                "value": "26640",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Orchard-User-Id",
                                "value": "alw:12398",
                                "type": "text",
                                "disabled": true
                            }
                        ],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/project/4068565/products",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "project",
                                "4068565",
                                "products"
                            ],
                            "query": [
                                {
                                    "key": "",
                                    "value": "",
                                    "disabled": true
                                }
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get product for project given a specific product",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Correlation-Id",
                                "value": "UUID",
                                "type": "text"
                            },
                            {
                                "key": "Grass-Account-Type",
                                "value": "vendor",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Grass-Account-Id",
                                "value": "26640",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Orchard-User-Id",
                                "value": "alw:12345",
                                "type": "text",
                                "disabled": true
                            }
                        ],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/project/4068565/product/2479389",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "project",
                                "4068565",
                                "product",
                                "2479389"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Gets list of projects for vendor id or vendor and subaccount ids",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Correlation-Id",
                                "value": "UUID",
                                "type": "text"
                            },
                            {
                                "key": "Grass-Account-Type",
                                "value": "vendor",
                                "type": "text"
                            },
                            {
                                "key": "Grass-Account-Id",
                                "value": "26640",
                                "type": "text"
                            }
                        ],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/projects?offset=0&limit=50",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "projects"
                            ],
                            "query": [
                                {
                                    "key": "offset",
                                    "value": "0"
                                },
                                {
                                    "key": "limit",
                                    "value": "50"
                                }
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Check if a vendor or subaccount owns a project",
                    "request": {
                        "method": "HEAD",
                        "header": [
                            {
                                "key": "Grass-Account-Type",
                                "value": "vendor",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Grass-Account-Id",
                                "value": "25663",
                                "type": "text",
                                "disabled": true
                            }
                        ],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/ownership/vendor/26640/project/3965151",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "ownership",
                                "vendor",
                                "26640",
                                "project",
                                "3965151"
                            ]
                        },
                        "description": "200\t\r\nProject is owned by account.\r\n400\t\r\nRequest parameter/header validation failure.\r\n\r\n403\t\r\nProject not owned by account. or Not authorized to check ownership for account.\r\n404\t\r\nCould not find project with projectId."
                    },
                    "response": []
                },
                {
                    "name": "Get metadata report for single project",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "Grass-Account-Type",
                                "value": "vendor",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Grass-Account-Id",
                                "value": "25663",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Correlation-Id",
                                "value": "UUID",
                                "type": "text"
                            },
                            {
                                "key": "Orchard-User-Id",
                                "value": "alw:43556",
                                "type": "text",
                                "disabled": true
                            }
                        ],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/report/4068565",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "report",
                                "4068565"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Trigger metadata report generation for single project",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "Correlation-Id",
                                "value": "UUID",
                                "type": "text"
                            },
                            {
                                "key": "Grass-Account-Type",
                                "value": "vendor",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Grass-Account-Id",
                                "value": "26640",
                                "type": "text",
                                "disabled": true
                            },
                            {
                                "key": "Orchard-User-Id",
                                "value": "alw:43556",
                                "type": "text",
                                "disabled": true
                            }
                        ],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/report/3955987",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "report",
                                "3955987"
                            ]
                        }
                    },
                    "response": []
                },
                {
                    "name": "Get single project with some artist info",
                    "request": {
                        "method": "GET",
                        "header": [],
                        "url": {
                            "raw": "https://qa-ows-project-manager.theorchard.io/project/3955987/document",
                            "protocol": "https",
                            "host": [
                                "qa-ows-project-manager",
                                "theorchard",
                                "io"
                            ],
                            "path": [
                                "project",
                                "3955987",
                                "document"
                            ]
                        }
                    },
                    "response": []
                }
            ],
            "protocolProfileBehavior": {}
        }
    ],
    "protocolProfileBehavior": {}
}
