POST api/CRM/SaveCustomer
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
Customer | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "Id": 1, "CommercialName": "sample string 2", "Code": "sample string 3", "Mobile": "sample string 4", "Phone": "sample string 5", "NameAR": "sample string 6", "NameEN": "sample string 7", "Phone2": "sample string 8", "Fax": "sample string 9", "Email": "sample string 10", "Website": "sample string 11", "Country": "sample string 12", "City": "sample string 13", "Address": "sample string 14", "KeyWords": "sample string 15", "Latitude": 1.1, "Longitude": 1.1, "EmpId": 16, "AccountTypeId": 17, "AccountManagerId": 18, "ClassificationId": 19, "BusinessFieldId": 20, "PaymentProfile": 1, "SchoolName": "sample string 21", "NationalID": "sample string 22", "BirthDate": "2024-11-28T13:02:30.9452517+02:00", "RegistrationDate": "2024-11-28T13:02:30.9452517+02:00", "RelatedEmpId": 1, "Gender": 1, "Status": 1, "BranchId": 1, "RequestSourceId": 1, "TaxFileNumber": "sample string 23", "TaxRegistrationNumber": "sample string 24", "BrothersId": "sample string 25", "PreCodeId": 1, "Comment": "sample string 26", "Direction": "sample string 27", "ContNameAR": "sample string 28", "ContNameEN": "sample string 29", "ContAddress": "sample string 30", "ContMobile": "sample string 31", "ContEmail": "sample string 32", "ContLatitude": 33.0, "ContLongitude": 34.0, "ContPhone": "sample string 35", "CountryId": 1, "InCT": "sample string 36" }
application/xml, text/xml
Sample:
<VM_Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel"> <AccountManagerId>18</AccountManagerId> <AccountTypeId>17</AccountTypeId> <Address>sample string 14</Address> <BirthDate>2024-11-28T13:02:30.9452517+02:00</BirthDate> <BranchId>1</BranchId> <BrothersId>sample string 25</BrothersId> <BusinessFieldId>20</BusinessFieldId> <City>sample string 13</City> <ClassificationId>19</ClassificationId> <Code>sample string 3</Code> <Comment>sample string 26</Comment> <CommercialName>sample string 2</CommercialName> <ContAddress>sample string 30</ContAddress> <ContEmail>sample string 32</ContEmail> <ContLatitude>33</ContLatitude> <ContLongitude>34</ContLongitude> <ContMobile>sample string 31</ContMobile> <ContNameAR>sample string 28</ContNameAR> <ContNameEN>sample string 29</ContNameEN> <ContPhone>sample string 35</ContPhone> <Country>sample string 12</Country> <CountryId>1</CountryId> <Direction>sample string 27</Direction> <Email>sample string 10</Email> <EmpId>16</EmpId> <Fax>sample string 9</Fax> <Gender>1</Gender> <Id>1</Id> <InCT>sample string 36</InCT> <KeyWords>sample string 15</KeyWords> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> <Mobile>sample string 4</Mobile> <NameAR>sample string 6</NameAR> <NameEN>sample string 7</NameEN> <NationalID>sample string 22</NationalID> <PaymentProfile>1</PaymentProfile> <Phone>sample string 5</Phone> <Phone2>sample string 8</Phone2> <PreCodeId>1</PreCodeId> <RegistrationDate>2024-11-28T13:02:30.9452517+02:00</RegistrationDate> <RelatedEmpId>1</RelatedEmpId> <RequestSourceId>1</RequestSourceId> <SchoolName>sample string 21</SchoolName> <Status>1</Status> <TaxFileNumber>sample string 23</TaxFileNumber> <TaxRegistrationNumber>sample string 24</TaxRegistrationNumber> <Website>sample string 11</Website> </VM_Customer>
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>