{"openapi":"3.0.1","info":{"title":"NOBB package","description":"Bluestone NOBB Package Service API.\n <b><h1>Deprecated endpoints:</h1></b><table border=\"1px;\"><tr><th style=\"text-align: center; vertical-align: middle;\"><b><h3>Uri</b></h3></th><th><b>Method</b></th><th><b><h3>Since</h3></b></th><th><b><h3>End of life</h3></b></th></tr></table>","version":"1-apps"},"servers":[{"url":"api.test.bluestonepim.com/nobb-package"}],"tags":[{"name":"Technical","description":"To get technical information."},{"name":"Metadata","description":"update metadata to Papi Sync"}],"paths":{"/technical/version":{"get":{"tags":["Technical"],"summary":"Show service version.","operationId":"presentVersion","responses":{"200":{"description":"Show service version."},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"oauth2":[]}]}},"/metadata/papiSync/metadata/jobs/{id}":{"get":{"tags":["Metadata"],"summary":"Get Metadata job","operationId":"getMetadataById","parameters":[{"name":"id","in":"path","description":"MetadataJob ID.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Metadata Job by ID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetadataJobResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Cannot get Metadata Job"}},"security":[{"oauth2":[]}]},"put":{"tags":["Metadata"],"summary":"Update metadata job status job to cancel","operationId":"cancelMetadataJob","parameters":[{"name":"id","in":"path","description":"MetadataJob ID.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Update running metadata job status to cancel by job ID","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetadataJobResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found Metadata Job"}},"security":[{"oauth2":[]}]}},"/metadata/papiSync/metadata":{"post":{"tags":["Metadata"],"summary":"Post all products package as metadata to Papi Sync","operationId":"postMetadata","responses":{"202":{"description":"Post metadata successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetadataJobResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"oauth2":[]}]}},"/metadata/papiSync/metadata/jobs":{"get":{"tags":["Metadata"],"summary":"Get Metadata job","operationId":"searchMetadataJob","parameters":[{"name":"page","in":"query","schema":{"type":"integer","format":"int32","default":0}},{"name":"pageSize","in":"query","description":"Page size.","schema":{"type":"integer","format":"int32","default":20}},{"name":"status","in":"query","schema":{"type":"string","enum":["DONE","PROCESSING","CANCELLED"]}}],"responses":{"200":{"description":"Metadata Job listed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchMetadataJobResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"oauth2":[]}]}},"/packages":{"get":{"tags":["NOBB packages"],"description":"Fetch packages for organization","operationId":"describeProducts","parameters":[{"name":"updatedAfter","in":"query","description":"Timestamp of updated after.","schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","schema":{"type":"integer","format":"int32","default":0}},{"name":"pageSize","in":"query","description":"Page size.","schema":{"type":"integer","format":"int32","default":100}},{"name":"archiveState","in":"query","description":"Archive state.","schema":{"type":"string","enum":["active","archived"]}}],"responses":{"200":{"description":"Fetch packages for organization successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPackageResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Cannot fetch packages for organization"}},"security":[{"oauth2":[]}]}},"/packages/metadata/products/{productId}":{"get":{"tags":["Package metadata"],"description":"Fetch packages metadata of product.","operationId":"getMetadataByProductId","parameters":[{"name":"productId","in":"path","description":"Product ID.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Fetch packages for product successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListMetaPackage"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Cannot fetch packages"}},"security":[{"oauth2":[]}]}},"/packages/metadata/products":{"get":{"tags":["Package metadata"],"description":"Fetch packages for organization.","operationId":"getMetadataChange","parameters":[{"name":"updatedAfter","in":"query","description":"Timestamp of updated after.","schema":{"type":"integer","format":"int64"}},{"name":"page","in":"query","schema":{"type":"integer","format":"int32","default":0}},{"name":"pageSize","in":"query","description":"Page size.","schema":{"type":"integer","format":"int32","default":100}}],"responses":{"200":{"description":"Fetch packages for organization successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListMetaProduct"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Cannot fetch packages for organization"}},"security":[{"oauth2":[]}]}},"/packages/{packageId}":{"get":{"tags":["NOBB packages"],"description":"Get packages data with specific Package ID.","operationId":"getPackageDataById","parameters":[{"name":"packageId","in":"path","description":"Package ID.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Fetch packages data successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageDataResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Cannot fetch packages"}},"security":[{"oauth2":[]}]}},"/packages/{packageId}/product":{"get":{"tags":["NOBB packages"],"description":"Get product ID which related with package ID.","operationId":"getPackageProductLink","parameters":[{"name":"packageId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Fetch product link with package successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageProductLinkResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Cannot fetch product link with package"}},"security":[{"oauth2":[]}]}},"/products/{productId}/package":{"post":{"tags":["Product NOBB packages"],"description":"Create a package for product.","operationId":"createPackage","parameters":[{"name":"productId","in":"path","description":"Product ID","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePackageRequest"}}}},"responses":{"201":{"description":"Package created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Product not found"},"500":{"description":"Cannot create package"}},"security":[{"oauth2":[]}]}},"/products/packages/{packageId}":{"delete":{"tags":["Product NOBB packages"],"description":"Delete package at product.","operationId":"deletePackage","parameters":[{"name":"packageId","in":"path","description":"Package ID.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Media asset deleted"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Product or Package not found"}},"security":[{"oauth2":[]}]}},"/products/{productId}/packages":{"get":{"tags":["Product NOBB packages"],"description":"Get packages for product.","operationId":"describeProducts_1","parameters":[{"name":"productId","in":"path","description":"Product ID.","required":true,"schema":{"type":"string"}},{"name":"page","in":"query","schema":{"type":"integer","format":"int32","default":0}},{"name":"pageSize","in":"query","schema":{"minimum":1,"type":"integer","format":"int32","default":10}}],"responses":{"200":{"description":"Get packages for product successful","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPackageResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Cannot describe packages for product"}},"security":[{"oauth2":[]}]}},"/products/{productId}/packages/{packageId}":{"put":{"tags":["Product NOBB packages"],"description":"Update package for product.","operationId":"updatePackage","parameters":[{"name":"productId","in":"path","description":"Product ID","required":true,"schema":{"type":"string"}},{"name":"packageId","in":"path","description":"Package ID","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePackageRequest"}}}},"responses":{"200":{"description":"Package updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Product or Package not found"},"500":{"description":"Cannot update package"}},"security":[{"oauth2":[]}]}},"/settings":{"get":{"tags":["Settings"],"description":"Get a setting.","operationId":"getSetting","responses":{"200":{"description":"Get setting successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Setting not found"}},"security":[{"oauth2":[]}]},"post":{"tags":["Settings"],"description":"Create or update setting for advance feature.","operationId":"saveSetting","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingRequest"}}}},"responses":{"200":{"description":"Create or update setting successfully","headers":{"Resource-ID":{"description":"Key value for the setting created","style":"simple","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SettingResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"oauth2":[]}]},"delete":{"tags":["Settings"],"description":"Remove a setting.","operationId":"removeSetting","responses":{"200":{"description":"Remove setting successfully"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Setting not found"}},"security":[{"oauth2":[]}]}}},"components":{"schemas":{"ErrorResponse":{"type":"object","properties":{"status":{"title":"Error status code.","type":"integer","format":"int32"},"error":{"title":"General error description.","type":"string"},"errorDetails":{"title":"List of errors details.","type":"array","items":{"$ref":"#/components/schemas/ErrorDetails"}},"requestId":{"title":"Request ID used for logging.","type":"string"},"timestamp":{"title":"Error timestamp.","type":"integer","format":"int64"},"quotaLimitExceededDetails":{"title":"Additional entity id list related to error","type":"array","items":{"$ref":"#/components/schemas/QuotaLimitExceededDetails"}}}},"ErrorDetails":{"type":"object","properties":{"message":{"title":"Error message.","type":"string"},"field":{"title":"Error related field.","type":"string"},"rejectedValue":{"title":"Invalid value causing error.","type":"string"}}},"QuotaLimitExceededDetails":{"type":"object","properties":{"quota":{"title":"Quota name.","type":"string"},"message":{"title":"Quota limit message.","type":"string"},"limit":{"title":"Quota limit.","type":"integer","format":"int32"},"entityId":{"title":"Id of the entity that caused the quota limit to be exceeded.","type":"string","nullable":true},"entityType":{"title":"Type of the entity that caused the quota limit to be exceeded.","type":"string","nullable":true}}},"MetadataJobResponse":{"title":"Metadata job responses list.","type":"object","properties":{"id":{"type":"string"},"totalProducts":{"type":"integer","format":"int32"},"executedProducts":{"type":"integer","format":"int32"},"status":{"type":"string","enum":["DONE","PROCESSING","CANCELLED"]},"modifiedAt":{"type":"string","format":"date-time"},"modifiedBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"}}},"SearchMetadataJobResponse":{"type":"object","properties":{"data":{"title":"Metadata job responses list.","type":"array","items":{"$ref":"#/components/schemas/MetadataJobResponse"}},"total":{"title":"Total of Metadata job.","type":"integer","format":"int64"}}},"ListPackageResponse":{"type":"object","properties":{"data":{"title":"Package responses list.","type":"array","items":{"$ref":"#/components/schemas/PackageResponse"}},"total":{"title":"Total of response.","type":"integer","format":"int64"}}},"PackageResponse":{"required":["packageNo"],"type":"object","properties":{"pcu":{"title":"PCU.","type":"string","example":"true"},"packageClass":{"title":"Package name.","type":"string","nullable":true,"enum":["D-PAK","F-PAK","T-PAK","PSE-PAK","NONE","UDEF-PAK"]},"consistOfUnit":{"title":"Consists of unit (Possible values are PackageType).","type":"string"},"consistOfCount":{"title":"Consists of amount.","type":"string","example":"0"},"gtin":{"title":"GTIN.","type":"string"},"packageNo":{"title":"PakningNr.","maxLength":2147483647,"minLength":1,"type":"string","example":"1"},"unit":{"title":"Pakningstype/PakningsEnhet (Possible values are PackageType).","type":"string"},"availableFrom":{"title":" Available from of package.","type":"string","example":"2019-01-01T00:00:00.000Z"},"availableTo":{"title":" Available end of package.","type":"string"},"canBeOrdered":{"title":"Can be ordered.","type":"string","example":"true"},"stocked":{"title":"Stocked.","type":"string","example":"true"},"height":{"title":"Height.","type":"string","example":"0"},"width":{"title":"Width.","type":"string","example":"0"},"length":{"title":"Length.","type":"string","example":"0"},"weight":{"title":"Weight.","type":"string","example":"0"},"volume":{"title":"Volume.","type":"string","example":"0"},"dpakCount":{"title":"D-Pak count.","type":"string","example":"0"},"maxStakingWeight":{"title":"Max stacking weight.","type":"string","example":"0"},"minOrderQuantity":{"title":"Min order quantity.","type":"string","example":"2"},"participantNo":{"title":"Participant number.","type":"string"},"diameter":{"title":"Diameter.","type":"string"},"breakage":{"title":"Breakage.","type":"string"},"gs1128":{"title":"GS 128.","type":"string"},"notRelevant":{"title":"Not relevant.","type":"string"},"description":{"title":"Package description.","type":"string"},"gtinType":{"title":"GTIN type.","type":"string"},"source":{"title":"External reference.","type":"string"},"sourceId":{"title":"External reference ID.","type":"string"},"nobbExportActive":{"title":"Export to NOBB.","type":"string","example":"true"},"nobbPackageId":{"title":"NOBB package ID.","type":"string"},"calculatedCount":{"title":"Calculated count.","type":"string","example":"0"},"layersOnPallet":{"title":"Layers on pallet.","type":"string","example":"5"},"layersOnPalletNotRelevant":{"title":"Layers on pallet not relevant.","type":"string","example":"true"},"created":{"title":"created date in ISO 8601 date format","type":"string","example":"2019-01-23T10:02:34Z"},"updated":{"title":"updated date in ISO 8601 date format","type":"string","example":"2019-01-23T10:02:34Z"},"id":{"title":"Package ID.","type":"string"},"productId":{"title":"Product ID.","type":"string"},"archiveState":{"title":"Archive state.","type":"string"}}},"ListMetaPackage":{"type":"object","properties":{"package":{"type":"array","items":{"$ref":"#/components/schemas/PackageResponse"}}}},"ListMetaProduct":{"type":"object","properties":{"data":{"title":"Result of metadata products list","type":"array","items":{"$ref":"#/components/schemas/MetaProduct"}}}},"MetaProduct":{"title":"Result of metadata products list","type":"object","properties":{"id":{"title":"Metadata product ID.","type":"string"},"metadata":{"$ref":"#/components/schemas/ListMetaPackage"}}},"PackageDataResponse":{"type":"object","properties":{"id":{"title":"Package ID.","type":"string"},"organizationId":{"title":"Organization ID.","type":"string"},"created":{"title":"Created time.","type":"string","format":"date-time"},"updated":{"title":"Updated time.","type":"string","format":"date-time"},"pcu":{"title":"PCU.","type":"string"},"packageClass":{"title":"Package class.","type":"string"},"consistOfUnit":{"title":"Consist of unit.","type":"string"},"consistOfCount":{"title":"Consist of count.","type":"string"},"gtin":{"title":"GTIN.","type":"string"},"packageNo":{"title":"Package number.","type":"string"},"unit":{"title":"Unit.","type":"string"},"availableFrom":{"title":"Available from of package.","type":"string"},"availableTo":{"title":"Available to of package.","type":"string"},"canBeOrdered":{"title":"Can be ordered.","type":"string"},"stocked":{"title":"Stocked.","type":"string"},"height":{"title":"Height.","type":"string"},"width":{"title":"Width.","type":"string"},"length":{"title":"Length.","type":"string"},"weight":{"title":"Weight.","type":"string"},"volume":{"title":"Volumn.","type":"string"},"dpakCount":{"title":"D-Pak count.","type":"string"},"maxStakingWeight":{"title":"Max stacking weight.","type":"string"},"minOrderQuantity":{"title":"Min order quantity.","type":"string"},"participantNo":{"title":"Participant number.","type":"string"},"diameter":{"title":"Diameter.","type":"string"},"breakage":{"title":"Breakage.","type":"string"},"gs1128":{"title":"GS-128.","type":"string"},"notRelevant":{"title":"Not relevant.","type":"string"},"description":{"title":"Package description.","type":"string"},"gtinType":{"title":"GTIN type.","type":"string"},"source":{"title":"Source.","type":"string"},"sourceId":{"title":"Source ID.","type":"string"},"nobbExportActive":{"title":"Export to NOBB.","type":"string"},"nobbPackageId":{"title":"NOBB package ID.","type":"string"},"calculatedCount":{"title":"Calculated count.","type":"string"},"layersOnPallet":{"title":"Layers on pallet.","type":"string"},"layersOnPalletNotRelevant":{"title":"Layers on pallet not relevant.","type":"string"},"archiveState":{"title":"Archive state.","type":"string"}}},"PackageProductLinkResponse":{"type":"object","properties":{"productId":{"title":"Product ID.","type":"string"}}},"CreatePackageRequest":{"required":["packageNo"],"type":"object","properties":{"pcu":{"title":"PCU.","type":"string","example":"true"},"packageClass":{"title":"Package name.","type":"string","nullable":true,"enum":["D-PAK","F-PAK","T-PAK","PSE-PAK","NONE","UDEF-PAK"]},"consistOfUnit":{"title":"Consists of unit (Possible values are PackageType).","type":"string"},"consistOfCount":{"title":"Consists of amount.","type":"string","example":"0"},"gtin":{"title":"GTIN.","type":"string"},"packageNo":{"title":"PakningNr.","maxLength":2147483647,"minLength":1,"type":"string","example":"1"},"unit":{"title":"Pakningstype/PakningsEnhet (Possible values are PackageType).","type":"string"},"availableFrom":{"title":" Available from of package.","type":"string","example":"2019-01-01T00:00:00.000Z"},"availableTo":{"title":" Available end of package.","type":"string"},"canBeOrdered":{"title":"Can be ordered.","type":"string","example":"true"},"stocked":{"title":"Stocked.","type":"string","example":"true"},"height":{"title":"Height.","type":"string","example":"0"},"width":{"title":"Width.","type":"string","example":"0"},"length":{"title":"Length.","type":"string","example":"0"},"weight":{"title":"Weight.","type":"string","example":"0"},"volume":{"title":"Volume.","type":"string","example":"0"},"dpakCount":{"title":"D-Pak count.","type":"string","example":"0"},"maxStakingWeight":{"title":"Max stacking weight.","type":"string","example":"0"},"minOrderQuantity":{"title":"Min order quantity.","type":"string","example":"2"},"participantNo":{"title":"Participant number.","type":"string"},"diameter":{"title":"Diameter.","type":"string"},"breakage":{"title":"Breakage.","type":"string"},"gs1128":{"title":"GS 128.","type":"string"},"notRelevant":{"title":"Not relevant.","type":"string"},"description":{"title":"Package description.","type":"string"},"gtinType":{"title":"GTIN type.","type":"string"},"source":{"title":"External reference.","type":"string"},"sourceId":{"title":"External reference ID.","type":"string"},"nobbExportActive":{"title":"Export to NOBB.","type":"string","example":"true"},"nobbPackageId":{"title":"NOBB package ID.","type":"string"},"calculatedCount":{"title":"Calculated count.","type":"string","example":"0"},"layersOnPallet":{"title":"Layers on pallet.","type":"string","example":"5"},"layersOnPalletNotRelevant":{"title":"Layers on pallet not relevant.","type":"string","example":"true"},"created":{"title":"created date in ISO 8601 date format","type":"string","example":"2019-01-23T10:02:34Z"},"updated":{"title":"updated date in ISO 8601 date format","type":"string","example":"2019-01-23T10:02:34Z"}}},"UpdatePackageRequest":{"type":"object","properties":{"pcu":{"title":"PCU.","type":"string","example":"true"},"packageClass":{"title":"Package name.","type":"string","nullable":true,"enum":["D-PAK","F-PAK","T-PAK","PSE-PAK","NONE","UDEF-PAK"]},"consistOfUnit":{"title":"Consists of unit (Possible values are PackageType).","type":"string"},"consistOfCount":{"title":"Consists of amount.","type":"string","example":"0"},"gtin":{"title":"GTIN.","type":"string"},"packageNo":{"title":"PakningNr.","maxLength":2147483647,"minLength":1,"type":"string","example":"1"},"unit":{"title":"Pakningstype/PakningsEnhet (Possible values are PackageType).","type":"string"},"availableFrom":{"title":" Available from of package.","type":"string","example":"2019-01-01T00:00:00.000Z"},"availableTo":{"title":" Available end of package.","type":"string"},"canBeOrdered":{"title":"Can be ordered.","type":"string","example":"true"},"stocked":{"title":"Stocked.","type":"string","example":"true"},"height":{"title":"Height.","type":"string","example":"0"},"width":{"title":"Width.","type":"string","example":"0"},"length":{"title":"Length.","type":"string","example":"0"},"weight":{"title":"Weight.","type":"string","example":"0"},"volume":{"title":"Volume.","type":"string","example":"0"},"dpakCount":{"title":"D-Pak count.","type":"string","example":"0"},"maxStakingWeight":{"title":"Max stacking weight.","type":"string","example":"0"},"minOrderQuantity":{"title":"Min order quantity.","type":"string","example":"2"},"participantNo":{"title":"Participant number.","type":"string"},"diameter":{"title":"Diameter.","type":"string"},"breakage":{"title":"Breakage.","type":"string"},"gs1128":{"title":"GS 128.","type":"string"},"notRelevant":{"title":"Not relevant.","type":"string"},"description":{"title":"Package description.","type":"string"},"gtinType":{"title":"GTIN type.","type":"string"},"source":{"title":"External reference.","type":"string"},"sourceId":{"title":"External reference ID.","type":"string"},"nobbExportActive":{"title":"Export to NOBB.","type":"string","example":"true"},"nobbPackageId":{"title":"NOBB package ID.","type":"string"},"calculatedCount":{"title":"Calculated count.","type":"string","example":"0"},"layersOnPallet":{"title":"Layers on pallet.","type":"string","example":"5"},"layersOnPalletNotRelevant":{"title":"Layers on pallet not relevant.","type":"string","example":"true"}}},"SettingResponse":{"type":"object","properties":{"exportNobbFlagDisplayed":{"title":"Export NOBB flag displayed.","type":"boolean"},"measurementUnit":{"title":"Measurement unit.","type":"string"},"organizationId":{"title":"Organization ID.","type":"string"},"createdAt":{"title":"Created time.","type":"string"},"createdBy":{"title":"Created by.","type":"string"},"modifiedAt":{"title":"Modified time.","type":"string"},"modifiedBy":{"title":"Modified by.","type":"string"}}},"SettingRequest":{"required":["measurementUnit"],"type":"object","properties":{"exportNobbFlagDisplayed":{"title":"Export NOBB flag displayed.","type":"boolean"},"measurementUnit":{"title":"Measurement unit.","pattern":"^(?!\\s*$).+","type":"string"}}}},"securitySchemes":{"oauth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://idp.test.bluestonepim.com/op/token","scopes":{"openid profile systemRoles permissions organization email name nickname":"All needed scopes."}}}}}},"x-amazon-apigateway-api-key-source":"AUTHORIZER"}