POST api/ProgramInfo/CompanyProgramProduct/Copy
Request Information
URI Parameters
None.
Body Parameters
ProgramInfoCopyRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SourceId | integer |
None. |
|
| ParentId | integer |
None. |
|
| Name | string |
None. |
|
| Code | string |
None. |
|
| ClientId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SourceId": 1,
"ParentId": 2,
"Name": "sample string 3",
"Code": "sample string 4",
"ClientId": "sample string 5"
}
text/xml
Sample:
<ProgramInfoCopyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RightRez.Web.Api.Models.ProgramInfo"> <ClientId xmlns="http://schemas.datacontract.org/2004/07/RightRez.Autobook.PNRBookingEngine">sample string 5</ClientId> <Code>sample string 4</Code> <Name>sample string 3</Name> <ParentId>2</ParentId> <SourceId>1</SourceId> </ProgramInfoCopyRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.