POST api/BookingInfo/PostUpdateMetaData?SESSION_GUID={SESSION_GUID}
Alter Meta Data Information
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SESSION_GUID | string |
Required |
Body Parameters
Collection of MetaDataValue| Name | Description | Type | Additional information |
|---|---|---|---|
| CLIENTBOOKING_GUID | string |
None. |
|
| MetaDataDatas | Collection of MetaDataData |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"CLIENTBOOKING_GUID": "sample string 1",
"MetaDataDatas": [
{
"MetaDefenitionID": 1,
"ValueText": "sample string 2",
"ValueChecked": true,
"ValueList": 1
},
{
"MetaDefenitionID": 1,
"ValueText": "sample string 2",
"ValueChecked": true,
"ValueList": 1
}
]
},
{
"CLIENTBOOKING_GUID": "sample string 1",
"MetaDataDatas": [
{
"MetaDefenitionID": 1,
"ValueText": "sample string 2",
"ValueChecked": true,
"ValueList": 1
},
{
"MetaDefenitionID": 1,
"ValueText": "sample string 2",
"ValueChecked": true,
"ValueList": 1
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfMetaDataValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Radical.JSON.Web.Passenger">
<MetaDataValue>
<CLIENTBOOKING_GUID>sample string 1</CLIENTBOOKING_GUID>
<MetaDataDatas>
<MetaDataData>
<MetaDefenitionID>1</MetaDefenitionID>
<ValueChecked>true</ValueChecked>
<ValueList>1</ValueList>
<ValueText>sample string 2</ValueText>
</MetaDataData>
<MetaDataData>
<MetaDefenitionID>1</MetaDefenitionID>
<ValueChecked>true</ValueChecked>
<ValueList>1</ValueList>
<ValueText>sample string 2</ValueText>
</MetaDataData>
</MetaDataDatas>
</MetaDataValue>
<MetaDataValue>
<CLIENTBOOKING_GUID>sample string 1</CLIENTBOOKING_GUID>
<MetaDataDatas>
<MetaDataData>
<MetaDefenitionID>1</MetaDefenitionID>
<ValueChecked>true</ValueChecked>
<ValueList>1</ValueList>
<ValueText>sample string 2</ValueText>
</MetaDataData>
<MetaDataData>
<MetaDefenitionID>1</MetaDefenitionID>
<ValueChecked>true</ValueChecked>
<ValueList>1</ValueList>
<ValueText>sample string 2</ValueText>
</MetaDataData>
</MetaDataDatas>
</MetaDataValue>
</ArrayOfMetaDataValue>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
StatusReturn| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| ExtraInfo | Collection of Pair of string [key] and string [value] |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Message": "sample string 2",
"ExtraInfo": [
{
"Key": "sample string 1",
"Value": "sample string 2"
},
{
"Key": "sample string 1",
"Value": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<StatusReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Radical.Entities.Web.Json">
<ExtraInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<d2p1:KeyValuePairOfstringstring>
<d2p1:key>sample string 1</d2p1:key>
<d2p1:value>sample string 2</d2p1:value>
</d2p1:KeyValuePairOfstringstring>
<d2p1:KeyValuePairOfstringstring>
<d2p1:key>sample string 1</d2p1:key>
<d2p1:value>sample string 2</d2p1:value>
</d2p1:KeyValuePairOfstringstring>
</ExtraInfo>
<Message>sample string 2</Message>
<Status>true</Status>
</StatusReturn>