Свойство | Тип | Описание | |
---|---|---|---|
IsValidEmail | bool | ||
IsValidUrl | bool |
Метод | Описание | |
---|---|---|
Blip ( string apiKey, string secretKey, string endpoint = "https://blip.balihoo-cloud.com" ) : System |
The Blip constructor.
|
|
BulkLoad ( string brandKey, string source, string filePath, bool implicitDelete, int expectedRecordCount, string successEmail = null, string failEmail = null, string successCallbackUrl = null, string failCallbackUrl = null ) : |
Load a bulk location file into BLIP.
|
|
DeleteLocation ( string brandKey, string locationKey, string source ) : |
Delete a location.
|
|
GetBrandKeys ( ) : |
Get a list of brandKeys that the API user is authorized to access.
|
|
GetBrandProjections ( string brandKey ) : |
Get a list of data projections available for an individual brand.
|
|
GetBrandSources ( string brandKey ) : |
Get a list of data sources available for an individual brand.
|
|
GetLocation ( string brandKey, string locationKey, string projection = "universal", bool includeRefs = false ) : |
Get data for an individual location that belongs to the specified brand.
|
|
GetLocationKeys ( string brandKey, string projection = "universal" ) : |
Get a list of locationKeys for all locations belonging to the specified brand.
|
|
Ping ( ) : |
Ping the BLIP API.
|
|
PutLocation ( string brandKey, string locationKey, string source, string locationData ) : |
Add or update a location.
|
|
QueryLocations ( string brandKey, string query, string view = "full", int pageSize, int pageNumber, string sortColumn = "locationKey", string sortDirection = "asc" ) : |
Get data for locations in a single brand that match the specified BLIP query.
|
Метод | Описание | |
---|---|---|
IsValidEmail ( string email ) : bool |
Validate email address or comma delimited list of email addresses.
|
|
IsValidUrl ( string url ) : bool |
Validate URL.
|
public Blip ( string apiKey, string secretKey, string endpoint = "https://blip.balihoo-cloud.com" ) : System | ||
apiKey | string | The key used to access the BLIP API. |
secretKey | string | The secret key used to access the BLIP API. |
endpoint | string | The BLIP endpoint to target. Defaults to Balihoo's production environment. |
Результат | System |
public BulkLoad ( string brandKey, string source, string filePath, bool implicitDelete, int expectedRecordCount, string successEmail = null, string failEmail = null, string successCallbackUrl = null, string failCallbackUrl = null ) : |
||
brandKey | string | The unique identifier for a single brand. |
source | string | The unique identifier for the data source. |
filePath | string | The full path to the bulk location file. |
implicitDelete | bool | Whether or not to delete locations from BLIP if they're missing from the file. |
expectedRecordCount | int | The number of location records to expect in the file. |
successEmail | string | An optional email address to notify upon success. Can be a comma-delimited list. |
failEmail | string | An optional email address to notify upon failure. Can be a comma-delimited list. |
successCallbackUrl | string | An optional URL to call upon success. |
failCallbackUrl | string | An optional URL to call upon failure. |
Результат |
public DeleteLocation ( string brandKey, string locationKey, string source ) : |
||
brandKey | string | The unique identifier for a single brand. |
locationKey | string | The unique identifier for a single location within the brand. |
source | string | The unique identifier for the data source being used to delete the location. |
Результат |
public GetBrandProjections ( string brandKey ) : |
||
brandKey | string | The unique identifier for a single brand. |
Результат |
public GetBrandSources ( string brandKey ) : |
||
brandKey | string | The unique identifier for a single brand. |
Результат |
public GetLocation ( string brandKey, string locationKey, string projection = "universal", bool includeRefs = false ) : |
||
brandKey | string | The unique identifier for a single brand. |
locationKey | string | The unique identifier for a single location within the brand. |
projection | string | Optionally filter data in a single projection. Defaults to "universal". |
includeRefs | bool | Optionally include objects referenced by the location in its data. Defaults to false. |
Результат |
public GetLocationKeys ( string brandKey, string projection = "universal" ) : |
||
brandKey | string | The unique identifier for a single brand. |
projection | string | Optionally filter data to locations in a single projecttion. Defaults to "universal". |
Результат |
public PutLocation ( string brandKey, string locationKey, string source, string locationData ) : |
||
brandKey | string | The unique identifier for a single brand. |
locationKey | string | The unique identifier for a single location within the brand. |
source | string | The unique identifier for the data source being used to add/update the location. |
locationData | string | The stringified JSON location document. |
Результат |
public QueryLocations ( string brandKey, string query, string view = "full", int pageSize, int pageNumber, string sortColumn = "locationKey", string sortDirection = "asc" ) : |
||
brandKey | string | The unique identifier for a single brand. |
query | string | A stringified JSON query used to filter locations in BLIP. |
view | string | Optionally specify the view returned. Defaults to "full". |
pageSize | int | Optionally specify the number of results to include in each page of results. |
pageNumber | int | Optionally specify the page index to return. |
sortColumn | string | The column by which to sort results. ('name' or 'locationKey' -- defaults to 'locationKey'). |
sortDirection | string | The direction to sort results. ('asc' or 'desc' -- defaults to 'asc'). |
Результат |