POST api/Job/CopyJob/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
CopyJobViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectID | integer |
None. |
|
| WithinCurrentProject | boolean |
None. |
|
| TransferQuoteTerms | boolean |
None. |
|
| QuotesIDs | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"projectID": 1,
"withinCurrentProject": true,
"transferQuoteTerms": true,
"quotesIDs": [
1,
2
]
}
application/xml, text/xml
Sample:
<CopyJobViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameTimeBAL.ViewModels">
<ProjectID>1</ProjectID>
<QuotesIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</QuotesIDs>
<TransferQuoteTerms>true</TransferQuoteTerms>
<WithinCurrentProject>true</WithinCurrentProject>
</CopyJobViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.