Пример #1
0
        internal string GetBatchBodyFooter()
        {
            var requestBody = $"--changeset_{ChangeSetId.ToString("N")}--" + Environment.NewLine;

            requestBody += $"--batch_{BatchId.ToString("N")}--" + Environment.NewLine;
            return(requestBody);
        }
Пример #2
0
        internal string GetBatchBodyHeader()
        {
            var requestBody = $"--batch_{BatchId.ToString("N")}" + Environment.NewLine;

            requestBody += $"Content-Type: multipart/mixed;boundary=changeset_{ChangeSetId.ToString("N")}" + Environment.NewLine + Environment.NewLine;
            return(requestBody);
        }