Smartthings plug cluster end point?

I want to control smartthings plug with my raspberry and xbee module, I know profile is x01/x04, but what is endpoints and clusters and payloads to turn the plug on/off.

According to this http://docs.smartthings.com/en/latest/device-type-developers-guide/zigbee-primer.html, for switch the cluster is x0006. But I still cannot find end points for the plug.