POST api/Customer/Update
Request Information
URI Parameters
None.
Body Parameters
CustomerModelName | Description | Type | Additional information |
---|---|---|---|
IsOrderCreater | boolean |
None. |
|
CustomerID | integer |
None. |
|
CreatedAtForCustomer | date |
None. |
|
UpdatedAtForCustomer | date |
None. |
|
CreatedByUserIDForCustomer | integer |
None. |
|
IsActiveForCustomer | boolean |
None. |
|
IsActive | boolean |
None. |
|
DiscountGroupID | integer |
None. |
|
DiscountGroup | string |
None. |
|
DeliveryPersonID | integer |
None. |
|
CustomerDataButton | string |
None. |
|
CurrentBalance | decimal number |
None. |
|
CurrentBalanceString | string |
None. |
|
ClientID | integer |
None. |
|
Supplier | string |
None. |
|
Image | string |
None. |
|
Customer | string |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
sCompanyName | string |
None. |
|
EmailAddress | string |
None. |
|
Address | string |
None. |
|
IsActiveForClient | boolean |
None. |
|
sFax | string |
None. |
|
sTaxNo | string |
None. |
|
sSalesTax | string |
None. |
|
sRemarks | string |
None. |
|
dCreditLimit | decimal number |
None. |
|
dOpeningBalance | decimal number |
None. |
|
CountryID | integer |
None. |
|
StateID | integer |
None. |
|
CityID | integer |
None. |
|
City | string |
None. |
|
sCityName | string |
None. |
|
sCountryName | string |
None. |
|
StreetAddress | string |
None. |
|
PostCode | string |
None. |
|
State | string |
None. |
|
PhoneNo | string |
None. |
|
IsSupplier | boolean |
None. |
|
IsCustomer | boolean |
None. |
|
PostalCode | string |
None. |
|
ShippingMethodID | integer |
None. |
|
ClientSourceID | integer |
None. |
|
ShippingMethod | string |
None. |
|
ClientSource | string |
None. |
|
Mobile | string |
None. |
|
Website | string |
None. |
|
VATNumber | string |
None. |
|
BankAccountNo | string |
None. |
|
BICCode | string |
None. |
|
BankAccountDescription | string |
None. |
|
CreatedByUserIDForClient | integer |
None. |
|
CreatedAtForClient | date |
None. |
|
UpdatedAtForClient | date |
None. |
|
PaymentPermission | string |
None. |
|
UpdatePermission | string |
None. |
|
Attachments | ImageModel |
None. |
|
ClientContacts | Collection of ClientContactModel |
None. |
|
ClientAddresses | Collection of ClientAddressModel |
None. |
|
ClientAddressesDetail | Collection of AddressDetailModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "IsOrderCreater": true, "CustomerID": 1, "CreatedAtForCustomer": "2025-01-22T20:43:55.7773234-06:00", "UpdatedAtForCustomer": "2025-01-22T20:43:55.7773234-06:00", "CreatedByUserIDForCustomer": 1, "IsActiveForCustomer": true, "IsActive": true, "DiscountGroupID": 1, "DiscountGroup": "sample string 3", "DeliveryPersonID": 1, "CustomerDataButton": "sample string 4", "CurrentBalance": 1.0, "CurrentBalanceString": "sample string 5", "ClientID": 6, "Supplier": "sample string 7", "Image": "sample string 8", "Customer": "sample string 9", "FirstName": "sample string 10", "LastName": "sample string 11", "sCompanyName": "sample string 12", "EmailAddress": "sample string 13", "Address": "sample string 14", "IsActiveForClient": true, "sFax": "sample string 15", "sTaxNo": "sample string 16", "sSalesTax": "sample string 17", "sRemarks": "sample string 18", "dCreditLimit": 1.0, "dOpeningBalance": 1.0, "CountryID": 1, "StateID": 1, "CityID": 1, "City": "sample string 19", "sCityName": "sample string 20", "sCountryName": "sample string 21", "StreetAddress": "sample string 22", "PostCode": "sample string 23", "State": "sample string 24", "PhoneNo": "sample string 25", "IsSupplier": true, "IsCustomer": true, "PostalCode": "sample string 26", "ShippingMethodID": 1, "ClientSourceID": 1, "ShippingMethod": "sample string 27", "ClientSource": "sample string 28", "Mobile": "sample string 29", "Website": "sample string 30", "VATNumber": "sample string 31", "BankAccountNo": "sample string 32", "BICCode": "sample string 33", "BankAccountDescription": "sample string 34", "CreatedByUserIDForClient": 1, "CreatedAtForClient": "2025-01-22T20:43:55.7773234-06:00", "UpdatedAtForClient": "2025-01-22T20:43:55.7773234-06:00", "PaymentPermission": "sample string 35", "UpdatePermission": "sample string 36", "Attachments": { "Base64String": "sample string 1", "Extention": "sample string 2" }, "ClientContacts": [ { "ID": 1, "Contacts": "sample string 2", "ClientID": 1, "Client": "sample string 3" }, { "ID": 1, "Contacts": "sample string 2", "ClientID": 1, "Client": "sample string 3" } ], "ClientAddresses": [ { "ID": 1, "Address": "sample string 2", "StateID": 3, "CountryID": 4, "ClientID": 1, "CityID": 1, "City": "sample string 5", "State": "sample string 6", "Country": "sample string 7", "Client": "sample string 8" }, { "ID": 1, "Address": "sample string 2", "StateID": 3, "CountryID": 4, "ClientID": 1, "CityID": 1, "City": "sample string 5", "State": "sample string 6", "Country": "sample string 7", "Client": "sample string 8" } ], "ClientAddressesDetail": [ { "ID": 1, "City": "sample string 1", "ZipCode": "sample string 2", "HouseNumber": 3, "Province": "sample string 4", "ProvinceShortCode": "sample string 5", "StreetName": "sample string 6" }, { "ID": 1, "City": "sample string 1", "ZipCode": "sample string 2", "HouseNumber": 3, "Province": "sample string 4", "ProvinceShortCode": "sample string 5", "StreetName": "sample string 6" } ] }
application/xml, text/xml
Sample:
<CustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel"> <Address>sample string 14</Address> <Attachments> <Base64String>sample string 1</Base64String> <Extention>sample string 2</Extention> </Attachments> <BICCode>sample string 33</BICCode> <BankAccountDescription>sample string 34</BankAccountDescription> <BankAccountNo>sample string 32</BankAccountNo> <City>sample string 19</City> <CityID>1</CityID> <ClientAddresses> <ClientAddressModel> <Address>sample string 2</Address> <City>sample string 5</City> <CityID>1</CityID> <Client>sample string 8</Client> <ClientID>1</ClientID> <Country>sample string 7</Country> <CountryID>4</CountryID> <ID>1</ID> <State>sample string 6</State> <StateID>3</StateID> </ClientAddressModel> <ClientAddressModel> <Address>sample string 2</Address> <City>sample string 5</City> <CityID>1</CityID> <Client>sample string 8</Client> <ClientID>1</ClientID> <Country>sample string 7</Country> <CountryID>4</CountryID> <ID>1</ID> <State>sample string 6</State> <StateID>3</StateID> </ClientAddressModel> </ClientAddresses> <ClientAddressesDetail> <AddressDetailModel> <City>sample string 1</City> <HouseNumber>3</HouseNumber> <ID>1</ID> <Province>sample string 4</Province> <ProvinceShortCode>sample string 5</ProvinceShortCode> <StreetName>sample string 6</StreetName> <ZipCode>sample string 2</ZipCode> </AddressDetailModel> <AddressDetailModel> <City>sample string 1</City> <HouseNumber>3</HouseNumber> <ID>1</ID> <Province>sample string 4</Province> <ProvinceShortCode>sample string 5</ProvinceShortCode> <StreetName>sample string 6</StreetName> <ZipCode>sample string 2</ZipCode> </AddressDetailModel> </ClientAddressesDetail> <ClientContacts> <ClientContactModel> <Client>sample string 3</Client> <ClientID>1</ClientID> <Contacts>sample string 2</Contacts> <ID>1</ID> </ClientContactModel> <ClientContactModel> <Client>sample string 3</Client> <ClientID>1</ClientID> <Contacts>sample string 2</Contacts> <ID>1</ID> </ClientContactModel> </ClientContacts> <ClientID>6</ClientID> <ClientSource>sample string 28</ClientSource> <ClientSourceID>1</ClientSourceID> <CountryID>1</CountryID> <CreatedAtForClient>2025-01-22T20:43:55.7773234-06:00</CreatedAtForClient> <CreatedByUserIDForClient>1</CreatedByUserIDForClient> <Customer>sample string 9</Customer> <EmailAddress>sample string 13</EmailAddress> <FirstName>sample string 10</FirstName> <Image>sample string 8</Image> <IsActiveForClient>true</IsActiveForClient> <IsCustomer>true</IsCustomer> <IsSupplier>true</IsSupplier> <LastName>sample string 11</LastName> <Mobile>sample string 29</Mobile> <PaymentPermission>sample string 35</PaymentPermission> <PhoneNo>sample string 25</PhoneNo> <PostCode>sample string 23</PostCode> <PostalCode>sample string 26</PostalCode> <ShippingMethod>sample string 27</ShippingMethod> <ShippingMethodID>1</ShippingMethodID> <State>sample string 24</State> <StateID>1</StateID> <StreetAddress>sample string 22</StreetAddress> <Supplier>sample string 7</Supplier> <UpdatePermission>sample string 36</UpdatePermission> <UpdatedAtForClient>2025-01-22T20:43:55.7773234-06:00</UpdatedAtForClient> <VATNumber>sample string 31</VATNumber> <Website>sample string 30</Website> <dCreditLimit>1</dCreditLimit> <dOpeningBalance>1</dOpeningBalance> <sCityName>sample string 20</sCityName> <sCompanyName>sample string 12</sCompanyName> <sCountryName>sample string 21</sCountryName> <sFax>sample string 15</sFax> <sRemarks>sample string 18</sRemarks> <sSalesTax>sample string 17</sSalesTax> <sTaxNo>sample string 16</sTaxNo> <CreatedAtForCustomer>2025-01-22T20:43:55.7773234-06:00</CreatedAtForCustomer> <CreatedByUserIDForCustomer>1</CreatedByUserIDForCustomer> <CurrentBalance>1</CurrentBalance> <CurrentBalanceString>sample string 5</CurrentBalanceString> <CustomerDataButton>sample string 4</CustomerDataButton> <CustomerID>1</CustomerID> <DeliveryPersonID>1</DeliveryPersonID> <DiscountGroup>sample string 3</DiscountGroup> <DiscountGroupID>1</DiscountGroupID> <IsActive>true</IsActive> <IsActiveForCustomer>true</IsActiveForCustomer> <IsOrderCreater>true</IsOrderCreater> <UpdatedAtForCustomer>2025-01-22T20:43:55.7773234-06:00</UpdatedAtForCustomer> </CustomerModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CustomerResponseName | Description | Type | Additional information |
---|---|---|---|
CustomerModel | CustomerModel |
None. |
|
ResponseCode | integer |
None. |
|
ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "CustomerModel": { "IsOrderCreater": true, "CustomerID": 1, "CreatedAtForCustomer": "2025-01-22T20:43:55.8706701-06:00", "UpdatedAtForCustomer": "2025-01-22T20:43:55.8706701-06:00", "CreatedByUserIDForCustomer": 1, "IsActiveForCustomer": true, "IsActive": true, "DiscountGroupID": 1, "DiscountGroup": "sample string 3", "DeliveryPersonID": 1, "CustomerDataButton": "sample string 4", "CurrentBalance": 1.0, "CurrentBalanceString": "sample string 5", "ClientID": 6, "Supplier": "sample string 7", "Image": "sample string 8", "Customer": "sample string 9", "FirstName": "sample string 10", "LastName": "sample string 11", "sCompanyName": "sample string 12", "EmailAddress": "sample string 13", "Address": "sample string 14", "IsActiveForClient": true, "sFax": "sample string 15", "sTaxNo": "sample string 16", "sSalesTax": "sample string 17", "sRemarks": "sample string 18", "dCreditLimit": 1.0, "dOpeningBalance": 1.0, "CountryID": 1, "StateID": 1, "CityID": 1, "City": "sample string 19", "sCityName": "sample string 20", "sCountryName": "sample string 21", "StreetAddress": "sample string 22", "PostCode": "sample string 23", "State": "sample string 24", "PhoneNo": "sample string 25", "IsSupplier": true, "IsCustomer": true, "PostalCode": "sample string 26", "ShippingMethodID": 1, "ClientSourceID": 1, "ShippingMethod": "sample string 27", "ClientSource": "sample string 28", "Mobile": "sample string 29", "Website": "sample string 30", "VATNumber": "sample string 31", "BankAccountNo": "sample string 32", "BICCode": "sample string 33", "BankAccountDescription": "sample string 34", "CreatedByUserIDForClient": 1, "CreatedAtForClient": "2025-01-22T20:43:55.8706701-06:00", "UpdatedAtForClient": "2025-01-22T20:43:55.8706701-06:00", "PaymentPermission": "sample string 35", "UpdatePermission": "sample string 36", "Attachments": { "Base64String": "sample string 1", "Extention": "sample string 2" }, "ClientContacts": [ { "ID": 1, "Contacts": "sample string 2", "ClientID": 1, "Client": "sample string 3" }, { "ID": 1, "Contacts": "sample string 2", "ClientID": 1, "Client": "sample string 3" } ], "ClientAddresses": [ { "ID": 1, "Address": "sample string 2", "StateID": 3, "CountryID": 4, "ClientID": 1, "CityID": 1, "City": "sample string 5", "State": "sample string 6", "Country": "sample string 7", "Client": "sample string 8" }, { "ID": 1, "Address": "sample string 2", "StateID": 3, "CountryID": 4, "ClientID": 1, "CityID": 1, "City": "sample string 5", "State": "sample string 6", "Country": "sample string 7", "Client": "sample string 8" } ], "ClientAddressesDetail": [ { "ID": 1, "City": "sample string 1", "ZipCode": "sample string 2", "HouseNumber": 3, "Province": "sample string 4", "ProvinceShortCode": "sample string 5", "StreetName": "sample string 6" }, { "ID": 1, "City": "sample string 1", "ZipCode": "sample string 2", "HouseNumber": 3, "Province": "sample string 4", "ProvinceShortCode": "sample string 5", "StreetName": "sample string 6" } ] }, "ResponseCode": 1, "ResponseText": "sample string 2" }
application/xml, text/xml
Sample:
<CustomerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Response"> <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">1</ResponseCode> <ResponseText xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">sample string 2</ResponseText> <CustomerModel xmlns:d2p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel"> <d2p1:Address>sample string 14</d2p1:Address> <d2p1:Attachments> <d2p1:Base64String>sample string 1</d2p1:Base64String> <d2p1:Extention>sample string 2</d2p1:Extention> </d2p1:Attachments> <d2p1:BICCode>sample string 33</d2p1:BICCode> <d2p1:BankAccountDescription>sample string 34</d2p1:BankAccountDescription> <d2p1:BankAccountNo>sample string 32</d2p1:BankAccountNo> <d2p1:City>sample string 19</d2p1:City> <d2p1:CityID>1</d2p1:CityID> <d2p1:ClientAddresses> <d2p1:ClientAddressModel> <d2p1:Address>sample string 2</d2p1:Address> <d2p1:City>sample string 5</d2p1:City> <d2p1:CityID>1</d2p1:CityID> <d2p1:Client>sample string 8</d2p1:Client> <d2p1:ClientID>1</d2p1:ClientID> <d2p1:Country>sample string 7</d2p1:Country> <d2p1:CountryID>4</d2p1:CountryID> <d2p1:ID>1</d2p1:ID> <d2p1:State>sample string 6</d2p1:State> <d2p1:StateID>3</d2p1:StateID> </d2p1:ClientAddressModel> <d2p1:ClientAddressModel> <d2p1:Address>sample string 2</d2p1:Address> <d2p1:City>sample string 5</d2p1:City> <d2p1:CityID>1</d2p1:CityID> <d2p1:Client>sample string 8</d2p1:Client> <d2p1:ClientID>1</d2p1:ClientID> <d2p1:Country>sample string 7</d2p1:Country> <d2p1:CountryID>4</d2p1:CountryID> <d2p1:ID>1</d2p1:ID> <d2p1:State>sample string 6</d2p1:State> <d2p1:StateID>3</d2p1:StateID> </d2p1:ClientAddressModel> </d2p1:ClientAddresses> <d2p1:ClientAddressesDetail> <d2p1:AddressDetailModel> <d2p1:City>sample string 1</d2p1:City> <d2p1:HouseNumber>3</d2p1:HouseNumber> <d2p1:ID>1</d2p1:ID> <d2p1:Province>sample string 4</d2p1:Province> <d2p1:ProvinceShortCode>sample string 5</d2p1:ProvinceShortCode> <d2p1:StreetName>sample string 6</d2p1:StreetName> <d2p1:ZipCode>sample string 2</d2p1:ZipCode> </d2p1:AddressDetailModel> <d2p1:AddressDetailModel> <d2p1:City>sample string 1</d2p1:City> <d2p1:HouseNumber>3</d2p1:HouseNumber> <d2p1:ID>1</d2p1:ID> <d2p1:Province>sample string 4</d2p1:Province> <d2p1:ProvinceShortCode>sample string 5</d2p1:ProvinceShortCode> <d2p1:StreetName>sample string 6</d2p1:StreetName> <d2p1:ZipCode>sample string 2</d2p1:ZipCode> </d2p1:AddressDetailModel> </d2p1:ClientAddressesDetail> <d2p1:ClientContacts> <d2p1:ClientContactModel> <d2p1:Client>sample string 3</d2p1:Client> <d2p1:ClientID>1</d2p1:ClientID> <d2p1:Contacts>sample string 2</d2p1:Contacts> <d2p1:ID>1</d2p1:ID> </d2p1:ClientContactModel> <d2p1:ClientContactModel> <d2p1:Client>sample string 3</d2p1:Client> <d2p1:ClientID>1</d2p1:ClientID> <d2p1:Contacts>sample string 2</d2p1:Contacts> <d2p1:ID>1</d2p1:ID> </d2p1:ClientContactModel> </d2p1:ClientContacts> <d2p1:ClientID>6</d2p1:ClientID> <d2p1:ClientSource>sample string 28</d2p1:ClientSource> <d2p1:ClientSourceID>1</d2p1:ClientSourceID> <d2p1:CountryID>1</d2p1:CountryID> <d2p1:CreatedAtForClient>2025-01-22T20:43:55.8706701-06:00</d2p1:CreatedAtForClient> <d2p1:CreatedByUserIDForClient>1</d2p1:CreatedByUserIDForClient> <d2p1:Customer>sample string 9</d2p1:Customer> <d2p1:EmailAddress>sample string 13</d2p1:EmailAddress> <d2p1:FirstName>sample string 10</d2p1:FirstName> <d2p1:Image>sample string 8</d2p1:Image> <d2p1:IsActiveForClient>true</d2p1:IsActiveForClient> <d2p1:IsCustomer>true</d2p1:IsCustomer> <d2p1:IsSupplier>true</d2p1:IsSupplier> <d2p1:LastName>sample string 11</d2p1:LastName> <d2p1:Mobile>sample string 29</d2p1:Mobile> <d2p1:PaymentPermission>sample string 35</d2p1:PaymentPermission> <d2p1:PhoneNo>sample string 25</d2p1:PhoneNo> <d2p1:PostCode>sample string 23</d2p1:PostCode> <d2p1:PostalCode>sample string 26</d2p1:PostalCode> <d2p1:ShippingMethod>sample string 27</d2p1:ShippingMethod> <d2p1:ShippingMethodID>1</d2p1:ShippingMethodID> <d2p1:State>sample string 24</d2p1:State> <d2p1:StateID>1</d2p1:StateID> <d2p1:StreetAddress>sample string 22</d2p1:StreetAddress> <d2p1:Supplier>sample string 7</d2p1:Supplier> <d2p1:UpdatePermission>sample string 36</d2p1:UpdatePermission> <d2p1:UpdatedAtForClient>2025-01-22T20:43:55.8706701-06:00</d2p1:UpdatedAtForClient> <d2p1:VATNumber>sample string 31</d2p1:VATNumber> <d2p1:Website>sample string 30</d2p1:Website> <d2p1:dCreditLimit>1</d2p1:dCreditLimit> <d2p1:dOpeningBalance>1</d2p1:dOpeningBalance> <d2p1:sCityName>sample string 20</d2p1:sCityName> <d2p1:sCompanyName>sample string 12</d2p1:sCompanyName> <d2p1:sCountryName>sample string 21</d2p1:sCountryName> <d2p1:sFax>sample string 15</d2p1:sFax> <d2p1:sRemarks>sample string 18</d2p1:sRemarks> <d2p1:sSalesTax>sample string 17</d2p1:sSalesTax> <d2p1:sTaxNo>sample string 16</d2p1:sTaxNo> <d2p1:CreatedAtForCustomer>2025-01-22T20:43:55.8706701-06:00</d2p1:CreatedAtForCustomer> <d2p1:CreatedByUserIDForCustomer>1</d2p1:CreatedByUserIDForCustomer> <d2p1:CurrentBalance>1</d2p1:CurrentBalance> <d2p1:CurrentBalanceString>sample string 5</d2p1:CurrentBalanceString> <d2p1:CustomerDataButton>sample string 4</d2p1:CustomerDataButton> <d2p1:CustomerID>1</d2p1:CustomerID> <d2p1:DeliveryPersonID>1</d2p1:DeliveryPersonID> <d2p1:DiscountGroup>sample string 3</d2p1:DiscountGroup> <d2p1:DiscountGroupID>1</d2p1:DiscountGroupID> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsActiveForCustomer>true</d2p1:IsActiveForCustomer> <d2p1:IsOrderCreater>true</d2p1:IsOrderCreater> <d2p1:UpdatedAtForCustomer>2025-01-22T20:43:55.8706701-06:00</d2p1:UpdatedAtForCustomer> </CustomerModel> </CustomerResponse>