1# MissionParameter 2 3The **MissionParameter** module defines the parameters required for mission synchronization. It can be used an input parameter in [startSyncRemoteMissions](js-apis-distributedMissionManager.md#distributedmissionmanagerstartsyncremotemissions). 4 5> **NOTE** 6> 7> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version. 8 9**System capability**: SystemCapability.Ability.AbilityRuntime.Mission 10 11| Name | Type | Readable | Writable | Description | 12| ----------- | ------- | ---- | ---- | ----------- | 13| deviceId | string | Yes | Yes | Device ID. | 14| fixConflict | boolean | Yes | Yes | Whether a version conflict occurs.| 15| tag | number | Yes | Yes | Tag of the mission. | 16 17**Example** 18```ts 19import distributedMissionManager from '@ohos.distributedMissionManager'; 20 21try { 22 distributedMissionManager.startSyncRemoteMissions( 23 { 24 deviceId: '123456', 25 fixConflict: true, 26 tag: 123 27 }, 28 (error, data) => { 29 if (error && error.code !== 0) { 30 console.error(`startSyncRemoteMissions fail, error: ${JSON.stringify(error)}`); 31 } else { 32 console.log(`startSyncRemoteMissions success, data: ${JSON.stringify(data)}`); 33 } 34 } 35 ); 36} catch (err) { 37 console.error(`startSyncRemoteMissions fail: ${JSON.stringify(err)}`); 38} 39``` 40