POST | /Initiation/Transferee | Initiates a transferee. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
InitiationInfo | body | TransfereeInitiation | Yes | Transferee initiation info needed for creation. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ClientId | form | string | No | Client ID |
ExternalId | form | string | Yes | External ID. This must be unique to the intiation's parent client |
FirstName | form | string | Yes | Transferee first name |
LastName | form | string | Yes | Transferee last name |
AssignmentType | form | string | No | Assignment type |
PreDecision | form | bool? | No | Is this transferee pre-decision |
VIP | form | bool? | No | Is this transferee a VIP |
CustomFields | form | List<CustomField> | No | Custom fields |
EmployeeId | form | string | No | Employee ID |
StartDate | form | DateTime? | No | Start date |
EndDate | form | DateTime? | No | End date |
OriginWorkLocation | form | Location | Yes | Origin work location |
OriginHomeAddress | form | Address | Yes | Origin home address |
DestinationWorkLocation | form | Location | Yes | Destination work location |
Repat | form | string | No | Repat |
RepatFromCity | form | string | No | Repat From City |
RepatFromStateCode | form | string | No | Repat From State code |
RepatFromCountryCode | form | string | No | Repat From Country Code |
RepatToCity | form | string | No | Repat To City |
RepatToStateCode | form | string | No | Repat To State Code |
RepatToCountryCode | form | string | No | Repat To Country Code |
CitizenshipCountry | form | string | No | Transferee citizenship country |
DualCitizenshipCountry | form | string | No | Transferee dual citizenship country |
Policy | form | string | Yes | Policy |
JobTitle | form | string | No | Job title |
MaritalStatus | form | MaritalStatus? | No | Marital statusAllowable Values
|
PayGrade | form | string | No | Pay grade |
AssignmentFamilySize | form | int? | No | Assignment family size |
HomeOwnerStatus | form | HomeOwnerStatus? | No | Home owner statusAllowable Values
|
LineOfBusiness | form | string | Yes | Line of business |
HostCurrency | form | string | No | HostCurrency |
ServiceLevel | form | string | No | ServiceLevel |
CompanyCodePrimary | form | string | No | CompanyCodePrimary |
CompanyCodeSecondary | form | string | No | CompanyCodeSecondary |
CostCenterPrimary | form | string | No | CostCenterPrimary |
CostCenterSecondary | form | string | No | CostCenterSecondary |
CostCenterTertiary | form | string | No | CostCenterTertiary |
Confidential | form | bool? | No | Is the assignment confidential |
SpecialInstructions | form | string | No | Special Instructions |
DestinationEntityLegalName | form | string | No | Destination entity legal name |
MobilePhoneNumber | form | string | Yes | Transferee mobile phone number |
WorkPhoneNumber | form | string | No | Transferee work phone number |
HomePhoneNumber | form | string | No | Transferee home phone number |
PrimaryEmail | form | string | Yes | Transferee primary email |
SecondaryEmail | form | string | No | Transferee secondary email |
HRContactFirstName | form | string | No | HR Contact First Name |
HRContactLastName | form | string | No | HR Contact Last Name |
HRContactFullName | form | string | No | HR contact full name |
AnnualSalary | form | string | No | Transferee annual salary |
SpousePartner | form | SpousePartner | No | Transferee spouse/partner |
Dependents | form | List<Dependent> | No | Transferee dependents |
Services | form | List<Service> | No | Assignment Services |
RelocationStatus | form | string | No | Relocation Status |
Cancel | form | string | No | Cancel |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FieldName | form | string | Yes | Custom field name |
FieldValue | form | string | No | Custom field value |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Title | form | string | No | |
City | form | string | No | |
StateCode | form | string | No | |
CountryCode | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Line1 | form | string | No | |
Line2 | form | string | No | |
Line3 | form | string | No | |
PostalCode | form | string | No |
Single | |
Married | |
DomesticPartner | |
Divorcee | |
Defacto | |
Other | |
Separated | |
Interdependent | |
Widowed | |
Divorced |
Homeowner | |
Renter |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FirstName | form | string | No | |
LastName | form | string | No | |
BirthDate | form | DateTime? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FirstName | form | string | No | |
LastName | form | string | No | |
BirthDate | form | DateTime? | No | |
RelationshipToAssignee | form | DependentAssigneeRelationship? | Yes | Allowable Values
|
Child | |
Other |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | Yes | Service name |
Data | form | List<ServiceData> | No | Service data |
Cancel | form | string | No | Cancel |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
FieldName | form | string | Yes | Service data field name |
FieldValue | form | string | Yes | Service data field value |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Initiation/Transferee HTTP/1.1
Host: initiation-api.sirva.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<TransfereeInitiationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIRVA.Relocation.Services.InitiationGateway.ServiceModel">
<InitiationInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/SIRVA.Relocation.Services.InitiationGateway.ServiceModel.Types">
<d2p1:AnnualSalary>String</d2p1:AnnualSalary>
<d2p1:AssignmentFamilySize>0</d2p1:AssignmentFamilySize>
<d2p1:AssignmentType>String</d2p1:AssignmentType>
<d2p1:Cancel>String</d2p1:Cancel>
<d2p1:CitizenshipCountry>String</d2p1:CitizenshipCountry>
<d2p1:ClientId>String</d2p1:ClientId>
<d2p1:CompanyCodePrimary>String</d2p1:CompanyCodePrimary>
<d2p1:CompanyCodeSecondary>String</d2p1:CompanyCodeSecondary>
<d2p1:Confidential>false</d2p1:Confidential>
<d2p1:CostCenterPrimary>String</d2p1:CostCenterPrimary>
<d2p1:CostCenterSecondary>String</d2p1:CostCenterSecondary>
<d2p1:CostCenterTertiary>String</d2p1:CostCenterTertiary>
<d2p1:CustomFields>
<d2p1:CustomField>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:FieldValue>String</d2p1:FieldValue>
</d2p1:CustomField>
</d2p1:CustomFields>
<d2p1:Dependents>
<d2p1:Dependent>
<d2p1:BirthDate>0001-01-01T00:00:00</d2p1:BirthDate>
<d2p1:FirstName>String</d2p1:FirstName>
<d2p1:LastName>String</d2p1:LastName>
<d2p1:RelationshipToAssignee>Child</d2p1:RelationshipToAssignee>
</d2p1:Dependent>
</d2p1:Dependents>
<d2p1:DestinationEntityLegalName>String</d2p1:DestinationEntityLegalName>
<d2p1:DestinationWorkLocation>
<d2p1:City>String</d2p1:City>
<d2p1:CountryCode>String</d2p1:CountryCode>
<d2p1:StateCode>String</d2p1:StateCode>
<d2p1:Title>String</d2p1:Title>
</d2p1:DestinationWorkLocation>
<d2p1:DualCitizenshipCountry>String</d2p1:DualCitizenshipCountry>
<d2p1:EmployeeId>String</d2p1:EmployeeId>
<d2p1:EndDate>0001-01-01T00:00:00</d2p1:EndDate>
<d2p1:ExternalId>String</d2p1:ExternalId>
<d2p1:FirstName>String</d2p1:FirstName>
<d2p1:HRContactFirstName>String</d2p1:HRContactFirstName>
<d2p1:HRContactFullName>String</d2p1:HRContactFullName>
<d2p1:HRContactLastName>String</d2p1:HRContactLastName>
<d2p1:HomeOwnerStatus>Homeowner</d2p1:HomeOwnerStatus>
<d2p1:HomePhoneNumber>String</d2p1:HomePhoneNumber>
<d2p1:HostCurrency>String</d2p1:HostCurrency>
<d2p1:JobTitle>String</d2p1:JobTitle>
<d2p1:LastName>String</d2p1:LastName>
<d2p1:LineOfBusiness>String</d2p1:LineOfBusiness>
<d2p1:MaritalStatus>Single</d2p1:MaritalStatus>
<d2p1:MobilePhoneNumber>String</d2p1:MobilePhoneNumber>
<d2p1:OriginHomeAddress>
<d2p1:City>String</d2p1:City>
<d2p1:CountryCode>String</d2p1:CountryCode>
<d2p1:StateCode>String</d2p1:StateCode>
<d2p1:Title>String</d2p1:Title>
<d2p1:Line1>String</d2p1:Line1>
<d2p1:Line2>String</d2p1:Line2>
<d2p1:Line3>String</d2p1:Line3>
<d2p1:PostalCode>String</d2p1:PostalCode>
</d2p1:OriginHomeAddress>
<d2p1:OriginWorkLocation>
<d2p1:City>String</d2p1:City>
<d2p1:CountryCode>String</d2p1:CountryCode>
<d2p1:StateCode>String</d2p1:StateCode>
<d2p1:Title>String</d2p1:Title>
</d2p1:OriginWorkLocation>
<d2p1:PayGrade>String</d2p1:PayGrade>
<d2p1:Policy>String</d2p1:Policy>
<d2p1:PreDecision>false</d2p1:PreDecision>
<d2p1:PrimaryEmail>String</d2p1:PrimaryEmail>
<d2p1:RelocationStatus>String</d2p1:RelocationStatus>
<d2p1:Repat>String</d2p1:Repat>
<d2p1:RepatFromCity>String</d2p1:RepatFromCity>
<d2p1:RepatFromCountryCode>String</d2p1:RepatFromCountryCode>
<d2p1:RepatFromStateCode>String</d2p1:RepatFromStateCode>
<d2p1:RepatToCity>String</d2p1:RepatToCity>
<d2p1:RepatToCountryCode>String</d2p1:RepatToCountryCode>
<d2p1:RepatToStateCode>String</d2p1:RepatToStateCode>
<d2p1:SecondaryEmail>String</d2p1:SecondaryEmail>
<d2p1:ServiceLevel>String</d2p1:ServiceLevel>
<d2p1:Services>
<d2p1:Service>
<d2p1:Cancel>String</d2p1:Cancel>
<d2p1:Data>
<d2p1:ServiceData>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:FieldValue>String</d2p1:FieldValue>
</d2p1:ServiceData>
</d2p1:Data>
<d2p1:Name>String</d2p1:Name>
</d2p1:Service>
</d2p1:Services>
<d2p1:SpecialInstructions>String</d2p1:SpecialInstructions>
<d2p1:SpousePartner>
<d2p1:BirthDate>0001-01-01T00:00:00</d2p1:BirthDate>
<d2p1:FirstName>String</d2p1:FirstName>
<d2p1:LastName>String</d2p1:LastName>
</d2p1:SpousePartner>
<d2p1:StartDate>0001-01-01T00:00:00</d2p1:StartDate>
<d2p1:VIP>false</d2p1:VIP>
<d2p1:WorkPhoneNumber>String</d2p1:WorkPhoneNumber>
</InitiationInfo>
</TransfereeInitiationRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <TransfereeInitiationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIRVA.Relocation.Services.InitiationGateway.ServiceModel"> <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types"> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:Message>String</d2p1:Message> <d2p1:StackTrace>String</d2p1:StackTrace> <d2p1:Errors> <d2p1:ResponseError> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:FieldName>String</d2p1:FieldName> <d2p1:Message>String</d2p1:Message> <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>String</d5p1:Key> <d5p1:Value>String</d5p1:Value> </d5p1:KeyValueOfstringstring> </d2p1:Meta> </d2p1:ResponseError> </d2p1:Errors> <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>String</d3p1:Key> <d3p1:Value>String</d3p1:Value> </d3p1:KeyValueOfstringstring> </d2p1:Meta> </ResponseStatus> </TransfereeInitiationResponse>