POS365.VN APIs

<back to all web services

UpdateCurrentRetailer

Requires Authentication
The following routes are available for this service:
POST/api/vendors/current
UpdateCurrentRetailer Parameters:
NameParameterData TypeRequiredDescription
VendorbodyRetailerNo
Retailer Parameters:
NameParameterData TypeRequiredDescription
IsExpiredformboolNo
ExpireInformdoubleNo
IdformintNo
NameformstringNo
AddressformstringNo
ProvinceformstringNo
WebsiteformstringNo
PhoneformstringNo
FaxformstringNo
CodeformstringNo
LogoformstringNo
CreatedDateformDateTimeNo
ModifiedDateformDateTime?No
ExpiryDateformDateTime?No
CreatedByformlongNo
ModifiedByformlong?No
MaximumProductsformintNo
MaximumBranchsformintNo
LatestClearDataformDateTime?No
ReferrerByformstringNo
FieldIdformint?No
StatusformbyteNo
MaximumOrdersformintNo
MaximumSmsformintNo
SmsBrandNameformstringNo
MaximumSmsBrandNameformintNo
UsingCustomLogoformboolNo
TelephoneOfShopkeepersformstringNo
SoldByIdformlong?No
SoldByNameformstringNo
DescriptionformstringNo
TotalAmountformdecimalNo
TaxNumberformstringNo
EmailformstringNo
ApprovalDateformDateTime?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/vendors/current HTTP/1.1 
Host: api.pos365.vn 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Vendor: 
	{
		IsExpired: True,
		ExpireIn: -739374.8701446953,
		Id: 0,
		Name: String,
		Address: String,
		Province: String,
		Website: String,
		Phone: String,
		Fax: String,
		Code: String,
		Logo: String,
		CreatedDate: 0001-01-01,
		ModifiedDate: 0001-01-01,
		ExpiryDate: 0001-01-01,
		CreatedBy: 0,
		ModifiedBy: 0,
		MaximumProducts: 0,
		MaximumBranchs: 0,
		LatestClearData: 0001-01-01,
		ReferrerBy: String,
		FieldId: 0,
		Status: 0,
		MaximumOrders: 0,
		MaximumSms: 0,
		SmsBrandName: String,
		MaximumSmsBrandName: 0,
		UsingCustomLogo: False,
		TelephoneOfShopkeepers: String,
		SoldById: 0,
		SoldByName: String,
		Description: String,
		TotalAmount: 0,
		TaxNumber: String,
		Email: String,
		ApprovalDate: 0001-01-01
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	
}