Skip to content

API Keyword Product

liamie edited this page Jul 13, 2021 · 28 revisions

Home / API / Keyword Product

Read.

Reads product keywords. If all parameters are sent then all Keyword Products are returned. Otherwise the set will be restricted to Keyword Products that correspond to the parameter combination.

Authentication: Windows

Privilege : Administrator , Power User

Method: PxStat.System.Navigation.Keyword_Product_API.Read

Parameters:

Name Type Default Description
SbjCode Integer 0 or empty Subject Code
PrcCode String Product Code
KprCode Integer 0 or empty Keyword Product Code

Return: Array [ Object ]

Name Type Description
KprCode Integer Keyword Product Code
KprValue String Keyword Product Value
KprMandatoryFlag Boolean Denotes if this is a Mandatory Keyword
SbjCode Integer Subject Code
SbjValue String Subject Value
KprSingularisedFlag Boolean Indicates if the keyword has been singularised*

*Generally speaking, this refers to acronyms etc which are not singularised as part of the search process.


Create.

Creates a non-mandatory product keyword.

Authentication: Windows

Privilege : Administrator , Power User

Method: PxStat.System.Navigation.Keyword_Product_API.Create

Parameters:

Name Type Default Description
KprValue String Keyword Product Value
PrcCode String Product Code
KprMandatoryFlag boolean false Product Code
LngIsoCode string Language ISO Code*
*This value is passed if the word has been singularised. The code must correspond to the language in which the word has been singularised.

Return: String with value of success


Update.

Updates a product keyword.

Authentication: Windows

Privilege : Administrator , Power User

Method: PxStat.System.Navigation.Keyword_Product_API.Update

Parameters:

Name Type Default Description
KprValue String Keyword Product Value
PrcCode String Product Code
KprMandatoryFlag boolean false Product Code
LngIsoCode string Language ISO Code*
*This value is passed if the word has been singularised. The code must correspond to the language in which the word has been singularised.

Return: String with value of success.


Delete.

Deletes a product keyword.

Authentication: Windows

Privilege : Administrator , Power User

Method: PxStat.System.Navigation.Keyword_Product_API.Delete

Parameters:

Name Type Default Description
KprCode Integer Keyword Product Code

Return: String with value of success.

Clone this wiki locally