POST api/Supplier/UpdateStatus

Request Information

URI Parameters

None.

Body Parameters

UpdateStatus
NameDescriptionTypeAdditional information
ID

integer

Required

Status

boolean

Required

UpdatedByUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Status": true,
  "UpdatedByUserID": 1
}

application/xml, text/xml

Sample:
<UpdateStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request">
  <ID>1</ID>
  <Status>true</Status>
  <UpdatedByUserID>1</UpdatedByUserID>
</UpdateStatus>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SupplierResponse
NameDescriptionTypeAdditional information
SupplierModel

SupplierModel

None.

ResponseCode

integer

None.

ResponseText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "SupplierModel": {
    "SupplierID": 1,
    "CreatedAtForSupplier": "2025-01-22T21:06:02.9870589-06:00",
    "UpdatedAtForSupplier": "2025-01-22T21:06:02.9870589-06:00",
    "CreatedByUserIDForSupplier": 1,
    "IsActiveForSupplier": true,
    "IsActive": true,
    "CurrentBalance": 1.0,
    "CurrentBalanceString": "sample string 3",
    "CustomerDataButton": "sample string 4",
    "ClientID": 5,
    "Supplier": "sample string 6",
    "Image": "sample string 7",
    "Customer": "sample string 8",
    "FirstName": "sample string 9",
    "LastName": "sample string 10",
    "sCompanyName": "sample string 11",
    "EmailAddress": "sample string 12",
    "Address": "sample string 13",
    "IsActiveForClient": true,
    "sFax": "sample string 14",
    "sTaxNo": "sample string 15",
    "sSalesTax": "sample string 16",
    "sRemarks": "sample string 17",
    "dCreditLimit": 1.0,
    "dOpeningBalance": 1.0,
    "CountryID": 1,
    "StateID": 1,
    "CityID": 1,
    "City": "sample string 18",
    "sCityName": "sample string 19",
    "sCountryName": "sample string 20",
    "StreetAddress": "sample string 21",
    "PostCode": "sample string 22",
    "State": "sample string 23",
    "PhoneNo": "sample string 24",
    "IsSupplier": true,
    "IsCustomer": true,
    "PostalCode": "sample string 25",
    "ShippingMethodID": 1,
    "ClientSourceID": 1,
    "ShippingMethod": "sample string 26",
    "ClientSource": "sample string 27",
    "Mobile": "sample string 28",
    "Website": "sample string 29",
    "VATNumber": "sample string 30",
    "BankAccountNo": "sample string 31",
    "BICCode": "sample string 32",
    "BankAccountDescription": "sample string 33",
    "CreatedByUserIDForClient": 1,
    "CreatedAtForClient": "2025-01-22T21:06:02.9870589-06:00",
    "UpdatedAtForClient": "2025-01-22T21:06:02.9870589-06:00",
    "PaymentPermission": "sample string 34",
    "UpdatePermission": "sample string 35",
    "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:
<SupplierResponse 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>
  <SupplierModel xmlns:d2p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">
    <d2p1:Address>sample string 13</d2p1:Address>
    <d2p1:Attachments>
      <d2p1:Base64String>sample string 1</d2p1:Base64String>
      <d2p1:Extention>sample string 2</d2p1:Extention>
    </d2p1:Attachments>
    <d2p1:BICCode>sample string 32</d2p1:BICCode>
    <d2p1:BankAccountDescription>sample string 33</d2p1:BankAccountDescription>
    <d2p1:BankAccountNo>sample string 31</d2p1:BankAccountNo>
    <d2p1:City>sample string 18</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>5</d2p1:ClientID>
    <d2p1:ClientSource>sample string 27</d2p1:ClientSource>
    <d2p1:ClientSourceID>1</d2p1:ClientSourceID>
    <d2p1:CountryID>1</d2p1:CountryID>
    <d2p1:CreatedAtForClient>2025-01-22T21:06:02.9870589-06:00</d2p1:CreatedAtForClient>
    <d2p1:CreatedByUserIDForClient>1</d2p1:CreatedByUserIDForClient>
    <d2p1:Customer>sample string 8</d2p1:Customer>
    <d2p1:EmailAddress>sample string 12</d2p1:EmailAddress>
    <d2p1:FirstName>sample string 9</d2p1:FirstName>
    <d2p1:Image>sample string 7</d2p1:Image>
    <d2p1:IsActiveForClient>true</d2p1:IsActiveForClient>
    <d2p1:IsCustomer>true</d2p1:IsCustomer>
    <d2p1:IsSupplier>true</d2p1:IsSupplier>
    <d2p1:LastName>sample string 10</d2p1:LastName>
    <d2p1:Mobile>sample string 28</d2p1:Mobile>
    <d2p1:PaymentPermission>sample string 34</d2p1:PaymentPermission>
    <d2p1:PhoneNo>sample string 24</d2p1:PhoneNo>
    <d2p1:PostCode>sample string 22</d2p1:PostCode>
    <d2p1:PostalCode>sample string 25</d2p1:PostalCode>
    <d2p1:ShippingMethod>sample string 26</d2p1:ShippingMethod>
    <d2p1:ShippingMethodID>1</d2p1:ShippingMethodID>
    <d2p1:State>sample string 23</d2p1:State>
    <d2p1:StateID>1</d2p1:StateID>
    <d2p1:StreetAddress>sample string 21</d2p1:StreetAddress>
    <d2p1:Supplier>sample string 6</d2p1:Supplier>
    <d2p1:UpdatePermission>sample string 35</d2p1:UpdatePermission>
    <d2p1:UpdatedAtForClient>2025-01-22T21:06:02.9870589-06:00</d2p1:UpdatedAtForClient>
    <d2p1:VATNumber>sample string 30</d2p1:VATNumber>
    <d2p1:Website>sample string 29</d2p1:Website>
    <d2p1:dCreditLimit>1</d2p1:dCreditLimit>
    <d2p1:dOpeningBalance>1</d2p1:dOpeningBalance>
    <d2p1:sCityName>sample string 19</d2p1:sCityName>
    <d2p1:sCompanyName>sample string 11</d2p1:sCompanyName>
    <d2p1:sCountryName>sample string 20</d2p1:sCountryName>
    <d2p1:sFax>sample string 14</d2p1:sFax>
    <d2p1:sRemarks>sample string 17</d2p1:sRemarks>
    <d2p1:sSalesTax>sample string 16</d2p1:sSalesTax>
    <d2p1:sTaxNo>sample string 15</d2p1:sTaxNo>
    <d2p1:CreatedAtForSupplier>2025-01-22T21:06:02.9870589-06:00</d2p1:CreatedAtForSupplier>
    <d2p1:CreatedByUserIDForSupplier>1</d2p1:CreatedByUserIDForSupplier>
    <d2p1:CurrentBalance>1</d2p1:CurrentBalance>
    <d2p1:CurrentBalanceString>sample string 3</d2p1:CurrentBalanceString>
    <d2p1:CustomerDataButton>sample string 4</d2p1:CustomerDataButton>
    <d2p1:IsActive>true</d2p1:IsActive>
    <d2p1:IsActiveForSupplier>true</d2p1:IsActiveForSupplier>
    <d2p1:SupplierID>1</d2p1:SupplierID>
    <d2p1:UpdatedAtForSupplier>2025-01-22T21:06:02.9870589-06:00</d2p1:UpdatedAtForSupplier>
  </SupplierModel>
</SupplierResponse>