POS365.VN APIs

<back to all web services

UsersProfile

Requires Authentication
The following routes are available for this service:
POST/api/users/profile
UsersProfile Parameters:
NameParameterData TypeRequiredDescription
UserbodyUserNo
User Parameters:
NameParameterData TypeRequiredDescription
PlainPasswordformstringNo
IdformlongNo
EmailformstringNo
UserNameformstringNo
PasswordformstringNo
NameformstringNo
DOBformDateTime?No
AddressformstringNo
PhoneformstringNo
CreatedDateformDateTimeNo
IsActiveformboolNo
IsAdminformboolNo
RetailerIdformintNo
CreatedByformlongNo
AdminGroupformbyteNo
ManagedByformlong?No
IdentityCardNumberformstringNo
ManagedByNavigationformUserNo
User Parameters:
NameParameterData TypeRequiredDescription
PlainPasswordformstringNo
IdformlongNo
EmailformstringNo
UserNameformstringNo
PasswordformstringNo
NameformstringNo
DOBformDateTime?No
AddressformstringNo
PhoneformstringNo
CreatedDateformDateTimeNo
IsActiveformboolNo
IsAdminformboolNo
RetailerIdformintNo
CreatedByformlongNo
AdminGroupformbyteNo
ManagedByformlong?No
IdentityCardNumberformstringNo
ManagedByNavigationformUserNo

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/users/profile HTTP/1.1 
Host: api.pos365.vn 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	User: 
	{
		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
			}
		}
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	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,
			ManagedByNavigation: 
		}
	}
}