POST api/CdcApi/ContractCopy/CopyContract
Copy source contract to new contract
Request Information
URI Parameters
None.
Body Parameters
CopyContractCommand| Name | Description | Type | Additional information |
|---|---|---|---|
| newContract | NewContract |
None. |
|
| newServices | Collection of NewService |
None. |
|
| newECs | Collection of NewECS |
None. |
|
| newVendorContracts | Collection of NewContract |
None. |
|
| transactionId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"transactionId": 1,
"newContract": {
"sourcE_SZERZ_AZON": 1,
"szerZ_NEV": "sample string 2",
"szerZ_KEZDET": "2025-12-08T03:59:53.7760144Z",
"szerZ_PAZON": "sample string 4"
},
"newServices": [
{
"sourcE_SZARZ_AZON": 1,
"szarZ_NEV": "sample string 2",
"szarZ_ERV_KEZDET": "2025-12-08T03:59:53.7760144Z",
"szarZ_AR": 4.0
},
{
"sourcE_SZARZ_AZON": 1,
"szarZ_NEV": "sample string 2",
"szarZ_ERV_KEZDET": "2025-12-08T03:59:53.7760144Z",
"szarZ_AR": 4.0
}
],
"newECs": [
{
"sourcE_ELSZ_CSOPORT_AZON": 1,
"elsZ_CSOPORT_NEV": "sample string 2",
"elsZ_CSOPORT_PAZON": "sample string 3"
},
{
"sourcE_ELSZ_CSOPORT_AZON": 1,
"elsZ_CSOPORT_NEV": "sample string 2",
"elsZ_CSOPORT_PAZON": "sample string 3"
}
],
"newVendorContracts": [
{
"sourcE_SZERZ_AZON": 1,
"szerZ_NEV": "sample string 2",
"szerZ_KEZDET": "2025-12-08T03:59:53.7760144Z",
"szerZ_PAZON": "sample string 4"
},
{
"sourcE_SZERZ_AZON": 1,
"szerZ_NEV": "sample string 2",
"szerZ_KEZDET": "2025-12-08T03:59:53.7760144Z",
"szerZ_PAZON": "sample string 4"
}
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1