Update journeys for a mobile user.
| Name | Description | Additional information |
|---|---|---|
| journeys | A list of journeys to update. |
Define this parameter in the request body. |
[
null,
{
"JourneyId": 1,
"SubcatId": 2,
"CreatedBy": 3,
"JourneyJson": "sample string 4",
"JourneyDate": "01/01/0001",
"StartTime": "12:00 AM",
"JourneyStartTime": "0001-01-01T00:00:00",
"EndTime": "12:00 AM",
"Active": false
},
{
"JourneyId": 1,
"SubcatId": 2,
"CreatedBy": 3,
"JourneyJson": "sample string 4",
"JourneyDate": "01/01/0001",
"StartTime": "12:00 AM",
"JourneyStartTime": "0001-01-01T00:00:00",
"EndTime": "12:00 AM",
"Active": false
}
]
<ArrayOfMobileJourney xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpendManagementLibrary.Mobile">
<MobileJourney i:nil="true" />
<MobileJourney>
<Active>false</Active>
<CreatedBy>3</CreatedBy>
<EndTime>12:00 AM</EndTime>
<JourneyDate>01/01/0001</JourneyDate>
<JourneyId>1</JourneyId>
<JourneyJson>sample string 4</JourneyJson>
<JourneyStartTime>0001-01-01T00:00:00</JourneyStartTime>
<StartTime>12:00 AM</StartTime>
<SubcatId>2</SubcatId>
</MobileJourney>
<MobileJourney>
<Active>false</Active>
<CreatedBy>3</CreatedBy>
<EndTime>12:00 AM</EndTime>
<JourneyDate>01/01/0001</JourneyDate>
<JourneyId>1</JourneyId>
<JourneyJson>sample string 4</JourneyJson>
<JourneyStartTime>0001-01-01T00:00:00</JourneyStartTime>
<StartTime>12:00 AM</StartTime>
<SubcatId>2</SubcatId>
</MobileJourney>
</ArrayOfMobileJourney>
Sample not available.
{
"List": {
"sample string 1": 2,
"sample string 3": 4,
"sample string 5": 6
},
"Message": "sample string 1",
"ReturnCode": 0,
"FunctionName": "sample string 2"
}
<SaveJourneyResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpendManagementLibrary.Mobile">
<FunctionName>sample string 2</FunctionName>
<Message>sample string 1</Message>
<ReturnCode>Success</ReturnCode>
<List xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringint>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>2</d2p1:Value>
</d2p1:KeyValueOfstringint>
<d2p1:KeyValueOfstringint>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>4</d2p1:Value>
</d2p1:KeyValueOfstringint>
<d2p1:KeyValueOfstringint>
<d2p1:Key>sample string 5</d2p1:Key>
<d2p1:Value>6</d2p1:Value>
</d2p1:KeyValueOfstringint>
</List>
</SaveJourneyResult>