title: SEND JSON ARRAY RETROFIT 2 (ANDROID)
body: <p>I'm novice and know there are many post for this question but i don't find my answer. </p>
  
  <p>So, I need to upgrade a user and his agenda with retrofit2 and the Request "PATCH". But, i don't know how do that with Retrofit2. </p>
  
  <p>Even with my research ... Nothing work ! </p>
  
  <p>Can you help me please ? </p>
  
  <p>Thx for advance :D </p>
  
  <p>Here is what I have to send : </p>
  
  <pre><code>{
      "gender": "M",
      "trainerName": "Patrick",
      "laterality": "L",
      "email": "xxxx@gmail.com",
      "phoneNumber": "XXXXX",
      "agendaWeekDays": [
          {
              "position": 1,
              "startSeconds": 648000,
              "endSeconds": 72000
          }, 
          {
              "position": 2,
              "startSeconds": 0,
              "endSeconds": 459
          }
      ]
  }
  </code></pre>
  
  <p>The response is Just : </p>
  
  <pre><code>{
    "success"
  }
  </code></pre>
  
  <p><strong>my REQUEST</strong></p>
  
  <pre><code>public interface Minterface {
  @FormUrlEncoded
  @PATCH("api/members/current")
  Call&lt;String&gt; test(
          @Field("access_token") String access_token,
          @Field("agendaWeekDays") ArrayList&lt;Agenda&gt; agendaWeekDays);
  }
  </code></pre>
  
  <p><strong>Agenda.class</strong> : </p>
  
  <pre><code>public class Agenda 
  {
  
      @SerializedName("position")
      @Expose
      private Integer position;
      @SerializedName("startSeconds")
      @Expose
      private Integer startSeconds;
      @SerializedName("endSeconds")
      @Expose
      private Integer endSeconds;
  
      public Integer getPosition() {
          return position;
      }
  
      public void setPosition(Integer position) {
          this.position = position;
      }
  
      public Integer getStartSeconds() {
          return startSeconds;
      }
  
      public void setStartSeconds(Integer startSeconds) {
          this.startSeconds = startSeconds;
      }
  
      public Integer getEndSeconds() {
          return endSeconds;
      }
  
      public void setEndSeconds(Integer endSeconds) {
          this.endSeconds = endSeconds;
      }
  }
  </code></pre>