Gets the full details of a service in a price listprice list service.
A service is typically a source language, target language, type of work and some unit price information.
URL
(GET) /api/pricing/pricelists/{plid}/services/{svcid}
...
id | string | |||
svcid | The unique service ID. | int | ||
plid | The unique price list ID. | int | ||
id | A unique identifier that concatenates price list ID and service ID. The format is:
This ID is redundant. We show it in Wordbee Translator for convenience for the user. | |||
cid | The company which owns the price list to which this service is attached.
| int | ||
pid | If the service is assigned to a specific person and not a company, then this is the person's unique ID. | int? | ||
inherited | True if this service is inherited from the parent price list or explicitly defined in the present price list. Please check inheritance options in this API method: pricingservices/pricelists/{id} | bool | ||
disabled | Boolean. If true then this service is currently disabled. | bool | ||
src | The source language code of the service. The special code "*" is a placeholder for any language: The service can be used for any source language. To discover all languages see settings/languages | string | ||
trg | The target language code of the service. The special code "*" is a placeholder for any language: The service can be used for any source language. | string | ||
srct | The source language title | string | ||
trgt | The target language title | string | ||
task | The service task code such as TR for translation or RV for revision. To discover all task types, see settings/tasks/codes | string | ||
taskt | The task print title, such as "Translation", "Revision", etc. | string | ||
code | An optional product code. Empty string if no code. | string | ||
comments | Optional internal comments (never visible to external users or unauthorized internals) | string? | ||
rating | A user defined service rating from 0 (not set) to 6 (best). | int | ||
ratingManager | The average rating given by managers and over the past weeks. This information is automatically populated from the Wordbee business analytics tools and the rating features. 0 means no data available. 1 is the lowest and 6 the highest rating. | decimal | ||
unit | The unit that will be costed. Such as WD (words) or CH (characters). See this API to obtain a list of all units: Price units | string | ||
unitt | The unit print title. | string | ||
unitsCount | Indicates the number of units (unit) that the service amount includes. In most cases this will be 1, but not in all, see below: Examples: "20 cents per 1 word", "20 cents per 15 characters", etc. | int | ||
amount | The service amount. It can be null if no amount is specified. | decimal? | ||
amountt | A user friendly text with the service price. Null if amount is null. For example:
| string? | ||
currency | The three letter currency code such as EUR or USD. | string | ||
currencySymbol | The currency symbol such as $. | string | ||
Deadline calculation | ||||
leadHours | Used for deadline calculation. Defines the number of hours upon transmission of a request until the time in hours the work typically starts. 0 if not set or no lead time. | int | ||
unitsPerDay | Used for deadline calculation. Defines the number of units the service provider can do in a work day. 0 if not set or no lead time. | int | ||
Discounts | ||||
discountMode | Defines how discounts are calculated for this specific service:
All the below properties apply to Custom mode only. | string | ||
discountModeType | A numeric value for the discount mode. This can be disregarded. | int? | ||
discountPretrans100 | Optional. Discount for 100% pretranslations. A value between 0 and 100. Applicable only if mode is "Custom". | decimal? | ||
discountPretrans110 | Optional. Discount for 110% (perfect) pretranslations. A value between 0 and 100. Applicable only if mode is "Custom". | decimal? | ||
discountPretransMT | Optional. Discount for machine translations. A value between 0 and 100. Applicable only if mode is "Custom". | decimal? | ||
discountPretransFuzzy | Optional. Discount for fuzzy pretranslations, i.e. pretranslations at below 100% leveraging similarity. A value between 0 and 100. Applicable only if mode is "Custom". | decimal? | ||
discountMatch1 | Optional. Discount for fuzzy (untranslated) matches or repetitions. The respective fuzzy interval (1 to 6) must be defined in the price list. | decimal? | ||
Backup service | ||||
backupServiceId | Optional service ID that shall be used by a manager if the present service is not available. Typically the backup service points to a price list of an alternative supplier. | int? | ||
backupPriceListId | The price list of the backup service, see above. | int? | ||
Custom fields | ||||
cfser | An array with all the service level custom fields. The array elements each have these properties:
Example:
See this API to obtain a list of all defined custom fields: settings/customfields | object[] | ||
cfser1, cfser2... | Same as the array above but with the custom fields printed Custom fields as separate properties. This is redundant information. Note that these properties contain the raw unprocessed custom field values, whereas cfser are prepared for display. For example, a boolean custom field will contain null/"" in cfser1 but show "No" in cfser (if the field is mandatory). | |||
Changes | ||||
changeUserId | The user who created or last updated this service. | int | ||
changeDate | Date of last change of this service. | datetime | ||
Price list | ||||
pricelist | The price list to which the service belongs. See this page for property details: pricingservices/pricelists/{id} | object | ||
EXAMPLES
...