Service
Click here for a complete list of operations.
AssignAssetToProject
This method assigns an file asset (via the AssetID parameter) to an existing Project. Specify the ProjectID parameter to target an existing project to associate the asset with. You must also specify the source and a list of target languages. If successful a fileInfoList detail is returned.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /obvibundles/Service.asmx HTTP/1.1 Host: fwapi.lionbridge.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/AssignAssetToProject" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AssignAssetToProject xmlns="http://tempuri.org/"> <Ticket>string</Ticket> <ProjectID>string</ProjectID> <AssetID>int</AssetID> <SourceLanguageID>string</SourceLanguageID> <TargetLanguageIDs>string</TargetLanguageIDs> <Metadata> <Meta Name="string" Value="string" /> <Meta Name="string" Value="string" /> </Metadata> </AssignAssetToProject> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <AssignAssetToProjectResponse xmlns="http://tempuri.org/"> <AssignAssetToProjectResult ProjectID="string"> <FileInfoItems> <FileInfo FileID="string" Filename="string" SourceLanguageID="string" TargetLanguageID="string" /> <FileInfo FileID="string" Filename="string" SourceLanguageID="string" TargetLanguageID="string" /> </FileInfoItems> </AssignAssetToProjectResult> </AssignAssetToProjectResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /obvibundles/Service.asmx HTTP/1.1 Host: fwapi.lionbridge.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <AssignAssetToProject xmlns="http://tempuri.org/"> <Ticket>string</Ticket> <ProjectID>string</ProjectID> <AssetID>int</AssetID> <SourceLanguageID>string</SourceLanguageID> <TargetLanguageIDs>string</TargetLanguageIDs> <Metadata> <Meta Name="string" Value="string" /> <Meta Name="string" Value="string" /> </Metadata> </AssignAssetToProject> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <AssignAssetToProjectResponse xmlns="http://tempuri.org/"> <AssignAssetToProjectResult ProjectID="string"> <FileInfoItems> <FileInfo FileID="string" Filename="string" SourceLanguageID="string" TargetLanguageID="string" /> <FileInfo FileID="string" Filename="string" SourceLanguageID="string" TargetLanguageID="string" /> </FileInfoItems> </AssignAssetToProjectResult> </AssignAssetToProjectResponse> </soap12:Body> </soap12:Envelope>