getResourceStrings

get

/ccadmin/v1/resources/{bundle}

Get Resource Strings. Fetch the specified resource bundle strings

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : getResourceStrings_response
Type: object
Show Source
Nested Schema : custom
Type: array
Map of custom resource key/value pairs
Show Source
Nested Schema : resources
Type: array
Map of grouped default resource key/value pairs
Show Source
Example Response (application/json)
{
    "custom":{
        "cancelText":"Cancel!!!",
        "okText":"OK!!!"
    },
    "resources":{
        "product":{
            "optionLast":"$t(ns.common:resources.option)",
            "optionRequiredMsg":"__optionName__ required",
            "separator":",",
            "optionHasNext":"$t(ns.common:resources.option),",
            "optionCaption":"Select __optionName__ ...",
            "option":"__optionName__: __optionValue__"
        },
        "search":{
            "searchText":"Showing Results for __searchTerm__ ",
            "searchFailedText":"Unable to perform a search at this time.",
            "productresultsText":"Results: __startIndex__ - __endIndex__ (of __totalProducts__)",
            "searchresultsText":"Results: __startIndex__ - __endIndex__ (of __count__)",
            "emptyProductresultsText":"Results: 0",
            "noMatchesFound":"No Matches Found",
            "showAllResultsText":"Show all results >>",
            "noProductsFound":"You searched for '__searchterm__'. No products were found.",
            "noSearchResultsText":"We couldn't find any results for __searchTerm__"
        },
        "buttonLabels":{
            "continueText":"Continue",
            "buttonSave":"Save",
            "buttonCancel":"Cancel",
            "escapeKeyText":"esc",
            "cancelText":"Cancel",
            "closeText":"Close",
            "okText":"OK"
        },
        "storeText":{
            "goToPreviousPagePaginationSymbol":"<", "decembertext":"december", "augusttext":"august", "loadingtext":"loading...", "gotolastpagepaginationsymbol":">>",
            "categoryText":"Category",
            "priceRangeText":"Price Range",
            "mayText":"May",
            "aprilText":"April",
            "juneText":"June",
            "goToNextPagePaginationSymbol":">",
            "septemberText":"September",
            "octoberText":"October",
            "julyText":"July",
            "goToFirstPagePaginationSymbol":"<<", "customtextnotfound":"[custom text missing]", "februarytext":"february", "januarytext":"january", "marchtext":"march", "novembertext":"november" }, "userforgottenpassword":{ "forgotpwdpart2":"you must update this the next time you login.", "forgotpwdpart1":"enter your email address to receive new temporary password.", "emailcanceltext":"cancel", "resetpwdtext":"reset password", "forgotpwdtext":"forgotten "forgotpasswordlinktext":"forgotten password?", "emailpasswordtext":"email "forgotpwdmessage":"a password has been sent address, along with reset instructions." "userpasswordpolicies":{ "passwordpolicieserrortext":"the entered does not comply policy. please try again.", "embeddedassistanceusemixedcase":"contains upper and lower case characters", "embeddedassistancenotinpreviousnpasswords":"has previously used", "embeddedassistancepretext":"you ensure password:", "embeddedassistancecannotuseusernametext":"differs from username", "embeddedassistanceusenumber":"includes a number", "embeddedassistanceminpasswordlengthtext":"is at least __min__ characters long", "embeddedassistanceusesymbol":"includes symbol character" "minicart":{ "cartdropdowntext_plural":"__count__ items - __currency____totalprice__", "cartdropdowntext":"__count__ item __currency____totalprice__" "userdetails":{ "confirmpasswordrequired":"please enter again. ", "emailaddressinvalid":"invalid entry. valid for example, john@smith.com.", "lastnamerequired":"last name is mandatory. "lastnametext":"last name", "emailaddresstext":"email address", "updatesuccessmsg":"update successfully saved.", "headercreatenewpassword":"create "passwordunmatched":"the passwords do match, "newconfirmpasswordtext":"confirm "firstnamerequired":"first "newpasswdtext":"new "maxlengthvalidationmsg":"invalid entry __fieldname__. exceed maximum of __maxlength__ characters.", "maxlengthemailadd":"invalid "createnewpwdmessage":"password updated.", "passwordrequired":"password "firstnametext":"first "emailaddressrequired":"email "currentpasswordrequired":"current mandatory.", "loginerror":"login unsuccessful. details don't match our records, "createnewpassworderror":"your expired. before logging in.", "oldpasswordsdonotmatch":"incorrect value previous "currentpasswordtext":"current password" "checkout":{ "invalidorderdetails":"there an error. check shipping "removecouponlinkreadtext":"remove coupon", "orderdiscountdesc":"* __discountdesc__", "coupondisplaytext":"__description__ __code__", "subtotaltext":"sub-total:", "ordercoupondisplaytext":"* __description__ "itemtotaltext":"item total", "ordersubmissionfailed":"order submission failed.", "quantitytext":"quantity", "discounttext":"discount(s)*:", "itemtext":"item" "cart":{ "productpricechanged":"this item's price changed since it was added cart. original was: __currency____originalprice__ "outofstockmsg":"this no longer in stock. remove cart?", "productnamehasnext":"__productname__, "insufficientstockmsg":"you can order __stocklimit__ product.", "invalidcartitemserror":"__productnames__ currently unavailable removed cart.", "cartsessionexpired":"your session expired due inactivity. login again", "quantityrequiremsg":"quantity "quantitynumericmsg":"invalid only numbers.", "removeitemmsg":"remove "orderpricingpromotionerror":"please review order. items, or discounts applied, have they were order." } "links":[ { "rel":"self", "href":"http: localhost:9080 ccadminui v1 resources ns.common?custom='%5Bobject%20Object%5D"' ] }< code>

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |71007|If an error occurs when trying to retrieve the custom resources| |71004|If the locale is not specified and cannot be determined| |71002|If the specified resource bundle is empty| |71000|If an error occurs when trying to retrieve the default resources| |71001|If the specified resource bundle is not found|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top