Project Complete Notification

If the quote creation request included an http-based notification subscription to the project complete event, when a project within the quote is complete, onDemand will POST to that URL.

Incoming POST Body

The response body contains information about the newly created merchant.

Parameter Comment
ProjectID

The ID of the project.  Generated by

onDemand.

Status
Status of the project
URL

The URL where the project can be

downloaded.  See GetProject.

CreationDate

String representing Date/Time

(ISO 8601) that the project

was created

DueDate

String representing Date/Time

(ISO 8601) that the project was due.

CompletionDate

String representing Date/Time

(ISO 8601) that the project was

completed

Errors

A container of Error (String)

elements that occurred when the

project was created.

SourceLanguage

.LanguageCode
See LanguageCode in glossary

TargetLanguages

.TargetLanguage

.LanguageCode

See LanguageCode in glossary
Products

A container of Products (container)

elements

Project

.Products

.Product

A container of information about the

item that was sent.

Products

.Product

.AsssetID

The internal onDemand Asset ID of

the product.

Products

.Product

.SKUs

A container of SKU elements

Products

.Product

.SKUs

.SKU

A SKU element

Products

.Product

.SKUs

.SKU

.SKUNumber

A SKU Number

Products

.Product

.TargetLanguages

.TargetLaguage

.LanguageCode

See LanguageCode in glossary

Products

.Product

.TargetLanguages

.TargetLaguage

.URL

Direct link to the translation. See

the Get Product Translation

API.

Files

.File

.AssetID

Asset ID of the file.

Files

.File

.FileName

Original name of the file

Files

.File

.TargetLanguages

.TargetLaguage

.LanguageCode

See LanguageCode in glossary

Files

.File

.TargetLanguages

.TargetLaguage

.URL

Direct link to the translation. See

the Get File Translation API

Incoming Request Samples

Example of notification for product-based projects.

<Project>
     <ProjectID>12345</ProjectID>
     <URL>https://...</URL>
     <Status>Complete</ProjectStatus>
     <CreationDate>2014-01-25T10:32:02Z</CreationDate>
     <CompletionDate>2014-01-25T10:32:02Z</CompletionDate>
     <DueDate>2014-01-25T10:32:02Z</DueDate>
     <Errors>
         <Error></Error>
     </Errors>
     <SourceLanguage>
         <LanguageCode>en-gb</LanguageCode>
     </SourceLanguage>
     <TargetLanguages>
         <TargetLanguage>
             <LanguageCode>it-it</LanguageCode>
         </TargetLanguage>
         <TargetLanguage>
             <LanguageCode>fr-fr</LanguageCode>
         </TargetLanguage>
     </TargetLanguages>
     <Products>
         <Product>
                 <AssetID>999</AssetID>
                 <SKUs>
                     <SKU>
                         <SKUNumber>123</SKUNumber>
                     </SKU>
                 </SKUs>
                 <TargetLanguages>
                     <TargetLanguage>
                         <LanguageCode>it-it</LanguageCode>
                         <URL>https://</URL>
                     </TargetLanguage>
                     <TargetLanguage>
                         <LanguageCode>fr-fr</LanguageCode>
                          <URL>https://</URL>
                     </TargetLanguage>
                 </TargetLanguages>
         </Product>
     </Products>
 </Project>

Example of notification for file-based projects.

<Project>
     <ProjectID>12345</ProjectID>
     <URL>https://...</URL>
     <Status>Complete</ProjectStatus>
     <CreationDate>2014-01-25T10:32:02Z</CreationDate>
     <CompletionDate>2014-01-25T10:32:02Z</CompletionDate>
     <DueDate>2014-01-25T10:32:02Z</DueDate>
     <Errors>
         <Error></Error>
     </Errors>
     <SourceLanguage>
         <LanguageCode>en-gb</LanguageCode>
     </SourceLanguage>
     <TargetLanguages>
         <TargetLanguage>
             <LanguageCode>it-it</LanguageCode>
         </TargetLanguage>
         <TargetLanguage>
             <LanguageCode>fr-fr</LanguageCode>
         </TargetLanguage>
     </TargetLanguages>
     <Files>
         <File>
                 <AssetID>999</AssetID>
                 <FileName>foo.txt</FileName>
                 <TargetLanguages>
                     <TargetLanguage>
                         <LanguageCode>it-it</LanguageCode>
                         <URL>https://</URL>
                     </TargetLanguage>
                     <TargetLanguage>
                         <LanguageCode>fr-fr</LanguageCode>
                          <URL>https://</URL>
                     </TargetLanguage>
                 </TargetLanguages>
         </File>
     </Files>
 </Project>