POST api/PM/SaveProject
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
project | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "Id": 1, "Code": "sample string 2", "NameAR": "sample string 3", "NameEN": "sample string 4", "StartDate": "2024-11-28T12:42:49.4162925+02:00", "EndDate": "2024-11-28T12:42:49.4162925+02:00", "Status": 7, "HourPrice": 1.0, "NumbHour": 1, "Completion": 1.0, "ProjectType": 8, "CostPercent": 1.0, "CostValue": 1.0, "ContractValue": 1.0, "IntialValue": 1.0, "BudgetHours": 1.0, "ClientId": 9, "DescriptionEN": "sample string 10", "DescriptionAR": "sample string 11", "ScopeEN": "sample string 12", "ScopeAR": "sample string 13", "ManagerId": 14, "CalendarType": 1, "CalendarId": 1, "PhaseId": 1, "BarcodeTypeId": 1, "Attachments": [ { "FileName": "sample string 1", "AttachFile": "QEBA" }, { "FileName": "sample string 1", "AttachFile": "QEBA" }, { "FileName": "sample string 1", "AttachFile": "QEBA" } ] }
application/xml, text/xml
Sample:
<Pro_Project_VM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel.API_VM_model"> <Attachments> <AttachmentSampleVM> <AttachFile>QEBA</AttachFile> <FileName>sample string 1</FileName> </AttachmentSampleVM> <AttachmentSampleVM> <AttachFile>QEBA</AttachFile> <FileName>sample string 1</FileName> </AttachmentSampleVM> <AttachmentSampleVM> <AttachFile>QEBA</AttachFile> <FileName>sample string 1</FileName> </AttachmentSampleVM> </Attachments> <BarcodeTypeId>1</BarcodeTypeId> <BudgetHours>1</BudgetHours> <CalendarId>1</CalendarId> <CalendarType>1</CalendarType> <ClientId>9</ClientId> <Code>sample string 2</Code> <Completion>1</Completion> <ContractValue>1</ContractValue> <CostPercent>1</CostPercent> <CostValue>1</CostValue> <DescriptionAR>sample string 11</DescriptionAR> <DescriptionEN>sample string 10</DescriptionEN> <EndDate>2024-11-28T12:42:49.4162925+02:00</EndDate> <HourPrice>1</HourPrice> <Id>1</Id> <IntialValue>1</IntialValue> <ManagerId>14</ManagerId> <NameAR>sample string 3</NameAR> <NameEN>sample string 4</NameEN> <NumbHour>1</NumbHour> <PhaseId>1</PhaseId> <ProjectType>8</ProjectType> <ScopeAR>sample string 13</ScopeAR> <ScopeEN>sample string 12</ScopeEN> <StartDate>2024-11-28T12:42:49.4162925+02:00</StartDate> <Status>7</Status> </Pro_Project_VM>
application/x-www-form-urlencoded
Sample:
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{ "Result": true, "ErrorMessage": "sample string 2" }
application/xml, text/xml
Sample:
<GeneralErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Plus"> <ErrorMessage>sample string 2</ErrorMessage> <Result>true</Result> </GeneralErrors>