POST api/Customer/Delete
Request Information
URI Parameters
None.
Body Parameters
RequestIDModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
Required |
|
RequestedUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "RequestedUserID": 1 }
application/xml, text/xml
Sample:
<RequestIDModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request"> <RequestedUserID>1</RequestedUserID> <ID>1</ID> </RequestIDModel>
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:57:02.5464022-06:00", "UpdatedAtForCustomer": "2025-01-22T20:57:02.5464022-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:57:02.5464022-06:00", "UpdatedAtForClient": "2025-01-22T20:57:02.5464022-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:57:02.5464022-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:57:02.5464022-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:57:02.5464022-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:57:02.5464022-06:00</d2p1:UpdatedAtForCustomer> </CustomerModel> </CustomerResponse>