Creating instance through api

Hi,

InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.PortMapping

i need help on create new instance through the api. through acs directly able to create.