POS365.VN APIs

<back to all web services

PartnerCurrentDebt

Requires Authentication
Required permission:Partner_Read
The following routes are available for this service:
All Verbs/api/partners/{Id}/currentdebt
PartnerCurrentDebt Parameters:
NameParameterData TypeRequiredDescription
IdpathlongNo
ODataReq Parameters:
NameParameterData TypeRequiredDescription
OrderbyformstringNo
SelectformstringNo
FilterformstringNo
Skipformint?No
Topformint?No
PartnerBranch Parameters:
NameParameterData TypeRequiredDescription
PartnerIdformlongNo
BranchIdformintNo
RetailerIdformintNo
DebtformdecimalNo
CreatedDateformDateTimeNo
CreatedByformlongNo
ModifiedByformlong?No
ModifiedDateformDateTime?No
PartnerformPartnerNo
Partner Parameters:
NameParameterData TypeRequiredDescription
PlainPasswordformstringNo
IdformlongNo
CodeformstringNo
NameformstringNo
AddressformstringNo
PhoneformstringNo
DOBformDateTime?No
EmailformstringNo
TypeformbyteNo
GenderformbyteNo
TaxCodeformstringNo
TotalDebtformdecimalNo
LoyaltyformdecimalNo
DescriptionformstringNo
CreatedByformlongNo
CreatedDateformDateTimeNo
ModifiedByformlong?No
ModifiedDateformDateTime?No
RetailerIdformintNo
ImageformstringNo
IdentifyNoformstringNo
LeadOwnerIdformlong?No
CompanyformstringNo
DepartmentformstringNo
PasswordformstringNo
ProvinceformstringNo
PointformlongNo
ShippingAddressformstringNo
Phone2formstringNo
MemberJoinDateformDateTime?No
TransactionvalueformdecimalNo
LeadOwnerformUserNo
PartnerGroupMembersformICollection<PartnerGroupMember>No
User Parameters:
NameParameterData TypeRequiredDescription
PlainPasswordformstringNo
IdformlongNo
EmailformstringNo
UserNameformstringNo
PasswordformstringNo
NameformstringNo
DOBformDateTime?No
AddressformstringNo
PhoneformstringNo
CreatedDateformDateTimeNo
IsActiveformboolNo
IsAdminformboolNo
RetailerIdformintNo
CreatedByformlongNo
AdminGroupformbyteNo
ManagedByformlong?No
IdentityCardNumberformstringNo
ManagedByNavigationformUserNo
PartnerGroupMember Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
PartnerIdformlongNo
GroupIdformlongNo

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

{
	Id: 0,
	$orderby: String,
	$select: String,
	$filter: String,
	$skip: 0,
	$top: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	PartnerId: 0,
	BranchId: 0,
	RetailerId: 0,
	Debt: 0,
	CreatedDate: 0001-01-01,
	CreatedBy: 0,
	ModifiedBy: 0,
	ModifiedDate: 0001-01-01,
	Partner: 
	{
		PlainPassword: String,
		Id: 0,
		Code: String,
		Name: String,
		Address: String,
		Phone: String,
		DOB: 0001-01-01,
		Email: String,
		Type: 0,
		Gender: 0,
		TaxCode: String,
		TotalDebt: 0,
		Loyalty: 0,
		Description: String,
		CreatedBy: 0,
		CreatedDate: 0001-01-01,
		ModifiedBy: 0,
		ModifiedDate: 0001-01-01,
		RetailerId: 0,
		Image: String,
		IdentifyNo: String,
		LeadOwnerId: 0,
		Company: String,
		Department: String,
		Password: String,
		Province: String,
		Point: 0,
		ShippingAddress: String,
		Phone2: String,
		MemberJoinDate: 0001-01-01,
		Transactionvalue: 0,
		LeadOwner: 
		{
			PlainPassword: String,
			Id: 0,
			Email: String,
			UserName: String,
			Password: String,
			Name: String,
			DOB: 0001-01-01,
			Address: String,
			Phone: String,
			CreatedDate: 0001-01-01,
			IsActive: False,
			IsAdmin: False,
			RetailerId: 0,
			CreatedBy: 0,
			AdminGroup: 0,
			ManagedBy: 0,
			IdentityCardNumber: String,
			ManagedByNavigation: 
			{
				PlainPassword: String,
				Id: 0,
				Email: String,
				UserName: String,
				Password: String,
				Name: String,
				DOB: 0001-01-01,
				Address: String,
				Phone: String,
				CreatedDate: 0001-01-01,
				IsActive: False,
				IsAdmin: False,
				RetailerId: 0,
				CreatedBy: 0,
				AdminGroup: 0,
				ManagedBy: 0,
				IdentityCardNumber: String,
				ManagedByNavigation: 
				{
					PlainPassword: String,
					Id: 0,
					Email: String,
					UserName: String,
					Password: String,
					Name: String,
					DOB: 0001-01-01,
					Address: String,
					Phone: String,
					CreatedDate: 0001-01-01,
					IsActive: False,
					IsAdmin: False,
					RetailerId: 0,
					CreatedBy: 0,
					AdminGroup: 0,
					ManagedBy: 0,
					IdentityCardNumber: String
				}
			}
		}
	}
}