POS365.VN APIs

<back to all web services

DeclarationGetInfo

Requires Authentication
The following routes are available for this service:
All Verbs/api/declarations/{Id}/info
DeclarationGetInfo Parameters:
NameParameterData TypeRequiredDescription
IdpathlongNo
DeclarationInfo Parameters:
NameParameterData TypeRequiredDescription
DeclarationIdformlongNo
RetailerIdformintNo
BranchIdformintNo
TaxpayerNameformstringNo
BrandNameformstringNo
PhoneNumberformstringNo
EmailformstringNo
TaxpayerCodeformstringNo
NewTaxpayerCodeformstringNo
BusinessSectorIdsformstringNo
IsRevisedformboolNo
AddressDetailformstringNo
ProvinceIdformint?No
WardIdformint?No
BusinessAreaformdoubleNo
PremisesTypeformboolNo
BorderBusinessformboolNo
BorderMarketNameformstringNo
TaxDepartmentIdformint?No
TaxOfficeIdformint?No
ResidentialAddressformstringNo
ResidentialProvinceIdformint?No
ResidentialWardIdformint?No
NumberOfEmployeesformint?No
WorkingHourFromformTimeSpan?No
WorkingHourToformTimeSpan?No
BankAccountformstringNo

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/declarations/{Id}/info HTTP/1.1 
Host: api.pos365.vn 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Id: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	DeclarationId: 0,
	RetailerId: 0,
	BranchId: 0,
	TaxpayerName: String,
	BrandName: String,
	PhoneNumber: String,
	Email: String,
	TaxpayerCode: String,
	NewTaxpayerCode: String,
	BusinessSectorIds: String,
	IsRevised: False,
	AddressDetail: String,
	ProvinceId: 0,
	WardId: 0,
	BusinessArea: 0,
	PremisesType: False,
	BorderBusiness: False,
	BorderMarketName: String,
	TaxDepartmentId: 0,
	TaxOfficeId: 0,
	ResidentialAddress: String,
	ResidentialProvinceId: 0,
	ResidentialWardId: 0,
	NumberOfEmployees: 0,
	WorkingHourFrom: PT0S,
	WorkingHourTo: PT0S,
	BankAccount: String
}