Get Service

Resource:
/api/services/<<service id>>
Method:
GET

Provides detailed information about a single service

Arguments

  • Service ID: The ID of the Service.

Return Codes

Status Code Comments
Success 200 Successful request
Bad Request 400  
Unauthorized 401

The request did not

pass authentication or

the customer is not a

member of an enterprise

site.

Response Body

The response body details about a single service.

Property Type Comments
Name
String Name of the sevice
Description
String

Description of the

service

PriceDescription
String

Description of how

pricing works.

ServiceID
Integer ID of the service
SourceLanguages
Container

Source languages

available for this this

service.

SourceLanguages

.SourceLanguage
Container

Container for Source

Language

SourceLanguages

.SourceLanguage

.LangaugeCode

String

See glossary for

language code.

TargetLanguages
Container

Target languages

available for this

service

TargetLanguages

.TargetLanguage
Container

Container for Target

Language

TargetLanguages

.TargetLanguage

.LanguageCode

String

See glossary for

language code.

ValidInputs
Container

Contains source

content types that

this service can

process

ValidInputs

.Products
EmptyTag

If this element exists

then this service

accepts Products

ValidInputs

.Files
Container

Contains FileExtension

elements for each

accepted file type.

If files are not

supported by this

service, there will

be no Files element.

ValidInputs

.Files

.FileExtension

String

String representing

a file extension

that is accepted by the

service.

MinimumUnits Integer

The minimum project size

expressed in the number

of units.

UnitType String

The unit of measure for

pricing the service.

Options are: words,

pages, standardized

pages, minutes, rows,

products, and files.

Response Example

<Service>
    <ServiceID>123</ServiceID>
    <Name>Product Based Service</Name>
    <Description>
        Service Description
    </Description>
    <PriceDescription>
        Around £1 per listing.
    </PriceDescription>
    <ValidInputs>
        <Products/>
    </ValidInputs>
    <UnitType>products</UnitType>
    <MinimumUnits>10</MinimumUnits>

    <SourceLanguages>
        <SourceLanguage>
            <LanguageCode>de-de</LanguageCode>
        </SourceLanguage>
        <SourceLanguage>
            <LanguageCode>en-us</LanguageCode>
        </SourceLanguage>
    </SourceLanguages>
    <TargetLanguages>
        <TargetLanguage>
            <LanguageCode>de-de</LanguageCode>
        </TargetLanguage>
        <TargetLanguage>
            <LanguageCode>fr-fr</LanguageCode>
        </TargetLanguage>
    </TargetLanguages>
</Service>