POST api/Project/CopyProject/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CopyProjectViewModel
NameDescriptionTypeAdditional information
CustomerID

integer

None.

WithinCurrentCustomer

boolean

None.

TransferQuoteTerms

boolean

None.

QuoteIDs

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "customerID": 1,
  "withinCurrentCustomer": true,
  "transferQuoteTerms": true,
  "quoteIDs": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<CopyProjectViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameTimeBAL.ViewModels">
  <CustomerID>1</CustomerID>
  <QuoteIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </QuoteIDs>
  <TransferQuoteTerms>true</TransferQuoteTerms>
  <WithinCurrentCustomer>true</WithinCurrentCustomer>
</CopyProjectViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.