/createTargetedMessage documentation improvements

Answered

Comments

6 comments

  • Avatar
    Nikolai Polkhovskiy

    Hi!

    These notification properties you've mentioned are all supported and they indeed accept the same data types.

  • Avatar
    Baptiste Gaillard

    Hi Nikolai, thanks for your response, so we'll implement all those properties in version 1.5 of php-pushwoosh.

  • Avatar
    Baptiste Gaillard

    Hi again Nikolai, what about the format of the /createTargetedMessage response structure.

    Is the response to this request exactly the same as the response of the /createMessage request ?

    That's to say something like...

    { "status_code" : 200, "status_message" : "OK", "response" : { "Messages" : [ "notificationCode0", "notificationCode1", "notificationCode2" ] } }

    If the response of /createTargetedMessage is different than the response of /createMessage can you describe me the structure of this response ?

    Thanks,

    Baptiste

  • Avatar
    Nikolai Polkhovskiy

    Sure! The response of the /createTargetedMessage request looks like this:

    {  
        "status_code": 200,  
        "status_message": "OK",  
        "response": {  
            "messageCode": "XXXX-XXXXXXXX-XXXXXXXX"  
        }  
    }
    
  • Avatar
    Baptiste Gaillard

    Ok, thanks, unit tests has been written with you sample response so it should work. Version 1.5.0 of php-pushwoosh has been published :-)

  • Avatar
    Nikolai Polkhovskiy

    That's awesome! :)

Please sign in to leave a comment.